How do I use Greasemonkey and Jquery to hide an HTML element with a certain class? - Stack Overflow
That script has 3 problems (worst first):
- The
@requiredirective is outside the metadata block. This means that Greasemonkey ignores it as just an ordinary javascript comment. - There is no
@includeor@matchdirective. This means that the script will fire on every page and iframe of every site! (Crashing some of them, and chewing up resources.) @grant nonemeans that the script will interfere with and crash all or part of many sites.
Read full article from How do I use Greasemonkey and Jquery to hide an HTML element with a certain class? - Stack Overflow
No comments:
Post a Comment