I want to use the @match directive but do not want to break compatibility wit开发者_如何学Ch greasemonkey.
Also, as unbelievable as it may seem, I don't have firefox installed on my system and thus can't test this myself.
Older versions of Greasemonkey will ignore the @match
directive, but will not break.
For maximum compatibility, use the @include
and @exclude
directives to control where/when a script runs.
Update:
As of Greasemonkey 0.9.8, GM fully supports the @match
directive.
精彩评论