diff --git a/01.general/02.how-to-create-your-own-ad-filters/docs.en.md b/01.general/02.how-to-create-your-own-ad-filters/docs.en.md index a29800b0..3623d954 100644 --- a/01.general/02.how-to-create-your-own-ad-filters/docs.en.md +++ b/01.general/02.how-to-create-your-own-ad-filters/docs.en.md @@ -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. + ##### **`ping`** diff --git a/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md b/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md index 934e37af..257cbe2d 100644 --- a/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md +++ b/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md @@ -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` и его поддоменах. + ##### **`ping`**