mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Asterisk no longer required after uBlockOrigin/uBlock-issues#977
parent
d792b72f58
commit
de12c00d61
1 changed files with 0 additions and 3 deletions
|
|
@ -418,13 +418,10 @@ The filter syntax for `redirect=` filter option is a subset of ABP-compatible fi
|
|||
||example.com/path/to/image$image,redirect=2x2-transparent.png,domain=github.com
|
||||
||example.com/$script,redirect=noopjs,first-party
|
||||
|
||||
Specifically, notice that the filter **must** start with `||` or `*`, otherwise no redirection directive will be created, although a blocking filter will be created. Essentially, a redirection filter must always have a destination hostname specified, or `*` if the filter is to apply to all destinations<sup>__*__</sup>.
|
||||
|
||||
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.
|
||||
|
||||
<sub>__*__ redirections applied to all destinations (starting with `*`) cannot be narrowed by `first-party` or `~third-party` option [#3590](https://github.com/gorhill/uBlock/issues/3590)</sub>
|
||||
|
||||
|
||||
***
|
||||
|
||||
#### `redirect-rule`
|
||||
|
|
|
|||
Loading…
Reference in a new issue