When searching with Ctrl + F in a website I’d like to exclude some text. Is there a way to solve this?
When searching with Ctrl + F in a website I’d like to exclude some
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apparently
Some quick testing shows that text content added via a pseudo-element will not be found. See this fiddle (search “Google” as an example) which uses the following example code (HTML5). I realize you may want to use
atags or something else, and may need to use javascript for functionality, but the point is, you can make small amounts of text, as you seem to require, that is invisible to searching.HTML
CSS