Skip to content

Commit

Permalink
Merge pull request #303 from AdguardTeam/admonitions-and-minor-fixes
Browse files Browse the repository at this point in the history
add and update some admonitions
  • Loading branch information
el-termikael authored Sep 5, 2023
2 parents d57303c + 9e0a4e6 commit ac9580c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,11 @@ Rules with `$removeparam` modifier are intended to strip query parameters from r
- `$removeparam=param` removes query parameter with the name `param` from URLs of any request, e.g. a request to `http://example.com/page?param=1&another=2` will be transformed into `http://example.com/page?another=2`.
`$removeparam` basic syntax is supported starting with v1.7 of [CoreLibs](https://adguard.com/en/blog/introducing-corelibs.html) and v3.6 of AdGuard Browser Extension.
:::note Compatibility
`$removeparam` syntax is supported starting with [CoreLibs](https://adguard.com/en/blog/introducing-corelibs.html) v1.7 and AdGuard Browser Extension v3.6.
:::
**Regular expressions**
Expand Down Expand Up @@ -3870,7 +3874,11 @@ Here is the composition of each content blocker:

User rules and allowlist are added to every content blocker.

The main issue with using multiple content blockers is that the rules within these content blockers cannot influence each other. This may lead to different unexpected issues. So filter maintainers may use `!#safari_cb_affinity` to define Safari content blocker affinity for the rules inside of the directive block.
:::caution

The main disadvantage of using multiple content blockers is that rules from different blockers are applied independently. Blocking rules are not affected by this, but unblocking rules may cause problems. If a blocking rule is in one content blocker and an exception is in another, the exception will not work. Filter maintainers use `!#safari_cb_affinity` to define Safari content blocker affinity for the rules inside of the directive block.

:::

**Syntax**

Expand Down

0 comments on commit ac9580c

Please sign in to comment.