add $subdocument examples

This commit is contained in:
Max Grupper 2022-06-23 10:30:38 +03:00
parent 2fd59215cc
commit d8e6cefc9a
2 changed files with 10 additions and 0 deletions

View File

@ -487,6 +487,11 @@ The rule corresponds to requests for media files — music and video, e.g. .mp4
The rule corresponds to requests for built-in pages — HTML tags `frame` and `iframe`.
###### `subdocument` examples
* `||example.com^$subdocument` - blocks built-in page requests (`frame` and `iframe`) to `example.com` and all its subdomains.
* `||example.com^$subdocument,domain=domain.com` - blocks built-in page requests (`frame` и `iframe`) to `example.com` (and its subdomains) from `domain.com` and all its subdomains.
<a id="ping-modifier"></a>
##### **`ping`**

View File

@ -488,6 +488,11 @@ AdGuard будет пытаться закрыть браузерную вкла
Правило будет соответствовать запросам к встроенным страницам — HTML-теги `frame` и `iframe`.
###### Примеры `subdocument`
* `||example.com^$subdocument` - отключает загрузку встроенных страниц (`frame` и `iframe`) с `example.com` и его поддоменов.
* `||example.com^$subdocument,domain=domain.com` - отключает загрузку встроенных страниц (`frame` и `iframe`) с `example.com`(и поддоменов) на `domain.com` и его поддоменах.
<a id="ping-modifier"></a>
##### **`ping`**