3 ms·
I’ve tried to adapt your code snippet into an UserScript: http://userscripts.org/scripts/show/154080 http://userscripts.org/scripts/show/154080 It works OK, bu
by demetrius 14y ago
I’ve tried to adapt your code snippet into an UserScript: http://userscripts.org/scripts/show/154080 http://userscripts.org/scripts/show/154080
It works OK, but I’ve run into a problem with textareas: if a textarea contains the name of the Great Leader, after script executes, the name in textarea is simply deleted.
Maybe you have an idea how this can be fixed?
P.S. By the way, you should consider installing the snippet yourself on your site: unfortunately, your page doesn’t follow the proper typographic rules! :(
- mokash 14y agoCheck out the jQuery Highlight Plugin. It does the job in a neater fashion and should be easier to implement. http://bartaz.github.com/sandbox.js/jquery.highlight.html http://bartaz.github.com/sandbox.js/jquery.highlight.html