Skip to content

Commit

Permalink
update compatibility for subdocument
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Aug 14, 2023
1 parent b91f3cd commit f1db9c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 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 @@ -712,6 +712,10 @@ The rule corresponds to requests for built-in pages — HTML tags `frame` and `i

:::info Compatibility

In AdGuard for Windows, Mac, and Android subdocuments are being detected
by the [Sec-Fetch-Dest header][sec-fetch-dest-header] if it is present.
Otherwise, some main pages may be treated as subdocuments.

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

:::
Expand Down Expand Up @@ -4005,3 +4009,5 @@ If you need an advice on how to create your own filters properly, our forum has
[ios-app]: #what-product "AdGuard for iOS"
[ext-saf]: #what-product "AdGuard for Safari"
[and-cb]: #what-product "AdGuard Content Blocker"

[sec-fetch-dest-header]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest

0 comments on commit f1db9c5

Please sign in to comment.