mirror of
https://github.com/AdguardTeam/AdguardKnowledgeBase.git
synced 2025-02-20 11:13:10 +08:00
add compatibility section
This commit is contained in:
parent
4d2ef4b3fa
commit
d170cfaf65
@ -2049,7 +2049,7 @@ path=pattern
|
||||
* `[$domain=example.com,path=/page.html]##.textad` - hides a `div` with a class `textad` at `page.html` of `example.com` and all subdomains but not at `another_page.html`
|
||||
* `[$path=/\\/(sub1|sub2)\\/page\\.html/]##.textad` - hides a `div` with a class `textad` at both `/sub1/page.html` and `/sub2/page.html` of any domain (please, note the [escaped special characters](#non-basic-rules-modifiers-syntax))
|
||||
|
||||
> **Compatibility with different versions of AdGuard.** AdGuard browser extension for Safari and AdGuard for iOS do not fully support regular expressions because of [Content Blocking API restrictions](https://webkit.org/blog/3476/content-blockers-first-look/) (look for "The Regular expression format" section).
|
||||
> **Compatibility with different versions of AdGuard.** Rules with `path` modifier are supported by AdGuard for Windows, Mac, Android, and AdGuard browser extensions for Chrome, Firefox, Edge. **Developer builds only at this moment.**
|
||||
|
||||
<a id="for_maintainers"></a>
|
||||
## Information for filters maintainers
|
||||
|
@ -2031,6 +2031,9 @@ path=pattern
|
||||
* `[$path=/page*.html]example.com##.textad` - скрывает `div` с классом `textad` на `/page1.html`, `/page2.html` или любом другом пути, соответствующим `/page<...>.html`, на домене `example.com`
|
||||
* `[$domain=example.com,path=/page.html]##.textad` - скрывает `div` с классом `textad` на `page.html` домена `example.com` и всех его поддоменах, но не на `another_page.html`
|
||||
* `[$path=/\\/(sub1|sub2)\\/page\\.html/]##.textad` - скрывает `div` с классом `textad` как на `/sub1/page.html`, так и `/sub2/page.html` любого домена (обратите внимание на [экранированные символы](#non-basic-rules-modifiers-syntax))
|
||||
|
||||
> **Совместимость с разными версиями AdGuard.** Правила с этим модификатором поддерживаются AdGuard для Windows, Mac, Android,а также браузерными расширениями AdGuard для Chrome, Firefox, Edge. **На данный момент только в девелопер-сборках.**
|
||||
|
||||
### Редиректы
|
||||
|
||||
AdGuard может перенаправлять веб-запросы к локальному "ресурсу".
|
||||
|
Loading…
x
Reference in New Issue
Block a user