Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Update docs.en.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sxgunchenko committed Dec 3, 2020
1 parent 754fb71 commit 0d8cbcd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 01.general/02.how-to-create-your-own-ad-filters/docs.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,11 @@ AdGuard uses the same filtering rules syntax as uBlock Origin. Also, it is compa
>`$redirect` rules' priority is higher than the regular basic blocking rules' priority. This means that if there's a basic blocking rule (even with `$important` modifier), `$redirect` rule will prevail over it. If there's a whitelist (@@) rule matching the same URL, it will disable redirecting as well (unless the `$redirect` rule is also marked as `$important`).
##### Disabling `$redirect` rules

* `@@||example.org^$redirect` will disable all `$redirect` rules for URLs that match `||example.org^`.
* `@@||example.org^$redirect=redirectName` will disable the rule with `$redirect=redirectName` for any request matching `||example.org^`.

##### `redirect` examples

```
Expand Down

0 comments on commit 0d8cbcd

Please sign in to comment.