Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
121
rated 0 times [  124] [ 3]  / answers: 1 / hits: 37766  / 13 Years ago, wed, august 17, 2011, 12:00:00

I have a puzzle site and its an awful way of cheating. Its okay if only partially, but can it be done?

Something I had in mind was replacing the letters with images, but anything easier than that?


More From » html

 Answers
117

Rather than disable the Find function, you could make it so that Find won't find the words! One way to do this would be to use the CSS content declaration to inject the words. Find won't find them:



<div class=word-foobar></div>

.word-foobar:before {
content: Foobar;
}


You could quite easily write some Javascript to automatically generate all the necessary CSS rules for you, too.


[#90569] Monday, August 15, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
felixa

Total Points: 180
Total Questions: 113
Total Answers: 108

Location: Palau
Member since Sat, Aug 21, 2021
3 Years ago
;