mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Add support for regex-based values for domain=/from=/to=
parent
e81861f24b
commit
2166375cee
1 changed files with 18 additions and 0 deletions
|
|
@ -348,6 +348,16 @@ Example:
|
|||
/adsign.$domain=~adsign.no
|
||||
```
|
||||
|
||||
Starting with [1.46.1b17](https://github.com/gorhill/uBlock/releases/tag/1.46.1b17) support for regex-based values has been added. Example of usage:
|
||||
`@@*$ghide,domain=/img[a-z]{3,5}\.buzz/`
|
||||
|
||||
Regex-based domain values can be negated just like plain or entity-based values:
|
||||
`*$domain=~/regex.../`
|
||||
|
||||
This new syntax does not apply to static extended filters.
|
||||
|
||||
See also: [`to`](#to)
|
||||
|
||||
***
|
||||
|
||||
#### `elemhide`
|
||||
|
|
@ -598,6 +608,14 @@ Examples:
|
|||
*$script,from=beforeitsnews.com,to=google.*|gstatic.com
|
||||
```
|
||||
|
||||
Starting with [1.46.1b17](https://github.com/gorhill/uBlock/releases/tag/1.46.1b17) support for regex-based values has been added. Example of usage:
|
||||
`@@*$ghide,to=/img[a-z]{3,5}\.buzz/`
|
||||
|
||||
Regex-based domain values can be negated just like plain or entity-based values:
|
||||
`*$to=~/regex.../`
|
||||
|
||||
This new syntax does not apply to static extended filters.
|
||||
|
||||
See also: [`denyallow`](#denyallow), [`from`](#from)
|
||||
|
||||
***
|
||||
|
|
|
|||
Loading…
Reference in a new issue