mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Safer example (at least for now) [previous commit].
parent
520d96a9ba
commit
e876a22654
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ The value assigned to `ipaddress` can either be a plain string which must match
|
|||
```adb
|
||||
*$script,ipaddress=93.184.215.14
|
||||
||xyz/|$xhr,3p,method=head,ipaddress=/^139\.45\.19[5-7]\.\d{1,3}/
|
||||
*$all,ipaddress=::,domain=~0.0.0.0|~127.0.0.1|~[::1]|~[::]|~local|~localhost
|
||||
*$all,ipaddress=/^::$/,domain=~0.0.0.0|~127.0.0.1|~[::1]|~[::]|~local|~localhost
|
||||
```
|
||||
|
||||
The `ipaddress` option can only be enforced when the extension framework does provide a valid IP address in a _onHeadersReceived_ listener. For instance, cached resources do not have a valid IP address and thus can't be a match to `ipaddress` option.
|
||||
|
|
Loading…
Reference in a new issue