Oct
01
2011
1
By David Luhman
Greasemonkey uses a "@include" syntax to indicate which web sites a given script should run on.
I believe Chrome accepts the older "@include" syntax for the sake of compatability, but Chrome prefers a "@match" syntax.
For example,
@match http://*.google.com
will run the indicated script on any google.com domain.
http://www.chromium.org/developers/design-documents/user-scripts
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions...
Categories:
There is 1 Comment
Re: Greasemonkey (User Scripts) in Chrome - @include vs. @match
Submitted by astaza (not verified) on Wed, 03/28/2012 - 10:57
thanks for this tip but @match or @include there are same but keep in mind about securty
thanks