Skip to content

Commit

Permalink
update subdocument compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Aug 11, 2023
1 parent 1825407 commit 681fbdd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ the type will be determined using the `Content-Type` header at the beginning of
| [$ping](#ping-modifier) | ✅ * |||||||
| [$script](#script-modifier) ||||||||
| [$stylesheet](#stylesheet-modifier) ||||||||
| [$subdocument](#subdocument-modifier) | ? ||| ? | ? || ? |
| [$subdocument](#subdocument-modifier) | ? ||| | || |
| [$websocket](#websocket-modifier) | ? ||| ✅ * | ✅ * |||
| [$xmlhttprequest](#xmlhttprequest-modifier) | ✅ * ||| ? | ? || ? |
| [$webrtc 🚫](#webrtc-modifier "removed") ||||||||
Expand Down Expand Up @@ -689,7 +689,7 @@ The rule corresponds to requests caused by either `navigator.sendBeacon()` or th
AdGuard for Windows, Mac, and Android often cannot accurately detect `navigator.sendBeacon()`.
Using `$ping` is not recommended in the filter lists that are supposed to be used by CoreLibs-based AdGuard products.

Rules with `$ping` modifier are **not supported** by AdGuard for Safari and iOS.
Rules with `$ping` modifier are not supported by AdGuard for Safari and iOS.

:::

Expand All @@ -710,6 +710,12 @@ The rule corresponds to requests for built-in pages — HTML tags `frame` and `i
- `||example.com^$subdocument` blocks built-in page requests (`frame` and `iframe`) to `example.com` and all its subdomains anywhere.
- `||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.

:::info Compatibility

Rules with `$subdocument` modifier are not supported by AdGuard Content Blocker.

:::

#### **`$websocket`** {#websocket-modifier}

The rule applies only to WebSocket connections.
Expand Down Expand Up @@ -968,7 +974,7 @@ All cosmetic rules — not just specific ones — can be disabled by [`$elemhide

:::info Compatibility

Rules with `$specifichide` modifier are **not supported** by AdGuard for iOS and Safari.
Rules with `$specifichide` modifier are not supported by AdGuard for iOS and Safari.

:::

Expand Down

0 comments on commit 681fbdd

Please sign in to comment.