From 7097541425e105f663595c55803b70be7846b1cb Mon Sep 17 00:00:00 2001 From: gwarser Date: Mon, 6 Aug 2018 22:29:55 +0200 Subject: [PATCH] Updated Static filter syntax (markdown) --- Static-filter-syntax.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index a507f3d..d6ef0e4 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -149,10 +149,12 @@ 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. +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__*__. 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. +__*__ 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) + ## Static extended filtering Static extended filters are all of the form: