1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00

Updated Static filter syntax (markdown)

Raymond Hill 2024-09-22 10:49:10 -04:00
parent 964ae3b5ef
commit 6c18b10143

@ -350,6 +350,8 @@ Equivalent to `stylesheet` [option](https://help.eyeo.com/en/adblockplus/how-to-
#### `cname` #### `cname`
<sup>Framework compatibility: Firefox MV2-only</sup>
New in [1.26.0](https://github.com/gorhill/uBlock/commit/c3bc2c741d61db3e99b313835c2ae34a4a008359). New in [1.26.0](https://github.com/gorhill/uBlock/commit/c3bc2c741d61db3e99b313835c2ae34a4a008359).
When used in an exception filter, it will bypass blocking CNAME uncloaked requests for the current (specified) document. When used in an exception filter, it will bypass blocking CNAME uncloaked requests for the current (specified) document.
@ -573,6 +575,8 @@ Disable inline font tags in the main page via CSP: `||example.com^$inline-font`.
#### `ipaddress` #### `ipaddress`
<sup>Framework compatibility: MV2-only</sup>
New in 1.60.0. New in 1.60.0.
The purpose is to block according to the IP address of a network request. The purpose is to block according to the IP address of a network request.
@ -721,6 +725,8 @@ Specific cosmetic filters apply only to pages in domains specified in the filter
#### `strict1p` #### `strict1p`
<sup>Framework compatibility: MV2-only</sup>
New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c). New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c).
Strict first-party request. Strict first-party request.
@ -741,6 +747,8 @@ For example:
#### `strict3p` #### `strict3p`
<sup>Framework compatibility: MV2-only</sup>
New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c). New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c).
Strict third-party requests. Strict third-party requests.
@ -906,6 +914,8 @@ Available since [1.4.0](https://github.com/gorhill/uBlock/releases/tag/1.4.0).
#### `redirect-rule` #### `redirect-rule`
<sup>Framework compatibility: MV2-only</sup>
Allows creating standalone redirect directives, without an implicit blocking filter. Allows creating standalone redirect directives, without an implicit blocking filter.
For example, consider the following filter: For example, consider the following filter:
@ -928,6 +938,8 @@ Available since [1.22.0](https://github.com/gorhill/uBlock/releases/tag/1.22.0).
#### `removeparam` #### `removeparam`
<sup>Framework compatibility: MV2: full, MV3: partial</sup>
New in [1.32.0](https://github.com/gorhill/uBlock/commit/1e2eb037e5b4754feb4a40519951b3e7a73d545d). New in [1.32.0](https://github.com/gorhill/uBlock/commit/1e2eb037e5b4754feb4a40519951b3e7a73d545d).
To remove query parameters from the URL of network requests -- see also [AG's `removeparam`'s documentation](https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#removeparam-modifier). For historical reasons, `queryprune` is an alias of `removeparam` (avoid using `queryprune` as it is deprecated and support will get removed eventually). To remove query parameters from the URL of network requests -- see also [AG's `removeparam`'s documentation](https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#removeparam-modifier). For historical reasons, `queryprune` is an alias of `removeparam` (avoid using `queryprune` as it is deprecated and support will get removed eventually).
@ -966,6 +978,8 @@ See also: [Filter Performance](./Filter-Performance#removeparam-modifier)
#### `replace` #### `replace`
<sup>Framework compatibility: Firefox MV2-only</sup>
New in [1.53.1b3](https://github.com/gorhill/uBlock/commit/7c3e060c01). New in [1.53.1b3](https://github.com/gorhill/uBlock/commit/7c3e060c01).
Can only be used in a trusted-source origin. Can only be used in a trusted-source origin.
@ -999,6 +1013,8 @@ Renamed in [1.54.1b8](https://github.com/gorhill/uBlock/commit/cdc5e89f52242f465
#### `urlskip` #### `urlskip`
<sup>Framework compatibility: MV2-only</sup>
New in 1.60.0. New in 1.60.0.
Can only be used in a trusted-source origin. Can only be used in a trusted-source origin.