Skip to content

Commit

Permalink
Merge pull request #326 from ngorskikh/feature/AG-25469
Browse files Browse the repository at this point in the history
Update response size limits
  • Loading branch information
ngorskikh authored Dec 6, 2023
2 parents 3a7424a + 7fac775 commit 0607de1
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 @@ -1457,7 +1457,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 @@ -1705,7 +1705,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 @@ -2125,7 +2125,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 0607de1

Please sign in to comment.