Skip to content

Commit

Permalink
Update response size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
ngorskikh committed Sep 18, 2023
1 parent cdce592 commit 7fac775
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ preroll.ts
- `$hls` rules are compatible with the modifiers `$domain`, `$third-party`, `$app`, `$important`, `$match-case`, and `$xmlhttprequest` only.
- `$hls` rules only apply to HLS playlists, which are UTF-8 encoded text starting with the line `#EXTM3U`.
Any other response will not be modified by these rules.
- `$hls` rules do not apply if the size of the original response is more than 3 MB.
- `$hls` rules do not apply if the size of the original response is more than 10 MB.

:::

Expand Down Expand Up @@ -1699,7 +1699,7 @@ In AdGuard for Windows, Mac and Android **running CoreLibs v1.11 or later**, JSO
:::caution Restrictions

- `$jsonprune` rules are only compatible with these specific modifiers: `$domain`, `$third-party`, `$app`, `$important`, `$match-case`, and `$xmlhttprequest`.
- `$jsonprune` rules do not apply if the size of the original response is more than 3 MB.
- `$jsonprune` rules do not apply if the size of the original response is more than 10 MB.

:::

Expand Down Expand Up @@ -2126,7 +2126,7 @@ You will need some knowledge of regular expressions to use `$replace` modifier.
**Features**

- `$replace` rules apply to any text response, but will not apply to binary (`media`, `image`, `object`, etc.).
- `$replace` rules do not apply if the size of the original response is more than 3MB.
- `$replace` rules do not apply if the size of the original response is more than 10 MB.
- `$replace` rules have a higher priority than other basic rules (**including** exception rules). So if a request corresponds to two different rules one of which has the `$replace` modifier, this rule will be applied.
- Document-level exception rules with `$content` or `$document` modifiers do disable `$replace` rules for requests matching them.
- Other document-level exception rules (`$generichide`, `$elemhide` or `$jsinject` modifiers) are applied alongside `$replace` rules. It means that you can modify the page content with a `$replace` rule and disable cosmetic rules there at the same time.
Expand Down

0 comments on commit 7fac775

Please sign in to comment.