From 6c18b101435d043c48798d7ebe7496fa39448558 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 22 Sep 2024 10:49:10 -0400 Subject: [PATCH] Updated Static filter syntax (markdown) --- Static-filter-syntax.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index b526002..7ac038a 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -350,6 +350,8 @@ Equivalent to `stylesheet` [option](https://help.eyeo.com/en/adblockplus/how-to- #### `cname` +Framework compatibility: Firefox MV2-only + 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. @@ -573,6 +575,8 @@ Disable inline font tags in the main page via CSP: `||example.com^$inline-font`. #### `ipaddress` +Framework compatibility: MV2-only + New in 1.60.0. 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` +Framework compatibility: MV2-only + New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c). Strict first-party request. @@ -741,6 +747,8 @@ For example: #### `strict3p` +Framework compatibility: MV2-only + New in [1.32.0](https://github.com/gorhill/uBlock/commit/bde3164eb445a4e74acca303ec9fa07f82ba1b1c). 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` +Framework compatibility: MV2-only + Allows creating standalone redirect directives, without an implicit blocking 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` +Framework compatibility: MV2: full, MV3: partial + 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). @@ -966,6 +978,8 @@ See also: [Filter Performance](./Filter-Performance#removeparam-modifier) #### `replace` +Framework compatibility: Firefox MV2-only + New in [1.53.1b3](https://github.com/gorhill/uBlock/commit/7c3e060c01). 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` +Framework compatibility: MV2-only + New in 1.60.0. Can only be used in a trusted-source origin.