@include with wildcards in the middle (=not only at the end of URL) possible?

19 views
Skip to first unread message

Ben Stover

unread,
Dec 18, 2017, 1:56:24 PM12/18/17
to Greasemonkey Users
Is it possible to put a "*" wildcard somewhere in the middle of the URL of an @include statement?

For example is the following meta tag statement valid:

// @include https://www.foobar.com/aaa/*blah/othersubdir/*

Ben


Klaus Johannes Rusch

unread,
Dec 18, 2017, 5:16:16 PM12/18/17
to greasemon...@googlegroups.com
On 18.12.2017 19:56, 'Ben Stover' via greasemonkey-users wrote:
Is it possible to put a "*" wildcard somewhere in the middle of the URL of an @include statement?

https://wiki.greasespot.net/Include_and_exclude_rules

Include and exclude rules support the * or globbing operator. The * serves as a wildcard that matches one or more of any character. A rule can have several wildcards or none, in which case the rule must match the entire URL exactly. Exclude rules look the same, and prevent the script from being executed.

-- 
Klaus Johannes Rusch
klaus...@atmedia.net
http://klausrusch.atmedia.net/
Reply all
Reply to author
Forward
0 new messages