added info about wildcard support for generic rules

This commit is contained in:
tvinzz 2021-05-18 00:24:29 +02:00
parent 72e9db8fc0
commit 5f73d20cb0
3 changed files with 11 additions and 1 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.DS_Store
.DS_Store
.idea

View File

@ -555,10 +555,14 @@ Disables the Stealth Mode module for all corresponding pages and requests.
##### Generic rules
Before we can proceed to the next modifiers, we have to make a definition of _generic rules_. The rule is generic if it is not limited to specific domains.
Wildcard character `*` is supported as well.
For example, these rules are generic:
```
###banner
*###banner
#@#.adsblock
*#@#.adsblock
~domain.com###banner
||domain.com^
||domain.com^$domain=~example.com

View File

@ -558,9 +558,14 @@ AdGuard будет пытаться закрыть браузерную вкла
##### Generic правила
Перед тем, как перейти к описанию следующих модификаторов, необходимо ввести определение _"generic правил"_. Правило является "generic", если его действие не ограничено конкретными доменами.
Также поддерживается wildcard-символ `*`.
Например, следующие правила являются "generic":
```
###banner
*###banner
#@#.adsblock
*#@#.adsblock
~domain.com###banner
||domain.com^
||domain.com^$domain=~example.com