mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Redirect examples - update resource names
parent
58e8794f10
commit
2e63225eb3
1 changed files with 3 additions and 3 deletions
|
|
@ -484,9 +484,9 @@ To cause a blocked network request to be redirected to a local "neutered" versio
|
|||
|
||||
The filter syntax for `redirect=` filter option is a subset of ABP-compatible filtering syntax, and is as follow:
|
||||
|
||||
||example.com^$script,redirect=noopjs,domain=github.com
|
||||
||example.com/path/to/image$image,redirect=2x2-transparent.png,domain=github.com
|
||||
||example.com/$script,redirect=noopjs,first-party
|
||||
||example.com^$script,redirect=noop.js,domain=github.com
|
||||
||example.com/path/to/image$image,redirect=2x2.png,domain=github.com
|
||||
||example.com/$script,redirect=noop.js,first-party
|
||||
|
||||
A source hostname should always be specified, so the `domain=` option is strongly recommended. It is allowed to use `first-party` instead of `domain=[...]`, in which case the source hostname will be that of the destination hostname.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue