From b145caf86d4c099e5000918f20fa2e5d4ac8535d Mon Sep 17 00:00:00 2001 From: Stevoisiak Date: Tue, 29 Sep 2026 12:50:35 -0400 Subject: [PATCH] Remove `:has()` as example for extended selector `#?#` Removes `:has()` as an example for extended CSS selector `#?#`. As described later on the page, `:has()` was added to native CSS. Specifying `#?#` forces the use of ExtendedCss, which is not desired in most scenarios. --- docs/general/ad-filtering/create-own-filters.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index e8fad632043..49e66ec466f 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -3664,7 +3664,6 @@ We **strongly recommend** using these markers any time when you use an extended **Examples** -- `example.org#?#div:has(> a[target="_blank"][rel="nofollow"])` — this rule blocks all `div` elements containing a child node that has a link with the attributes `[target="_blank"][rel="nofollow"]`. The rule applies only to `example.org` and its subdomains. - `example.com#$?#h3:contains(cookies) { display: none!important; }` — this rule sets the style `display: none!important` to all `h3` elements that contain the word `cookies`. The rule applies only to `example.com` and all its subdomains. - `example.net#?#.banner:matches-css(width: 360px)` — this rule blocks all `.banner` elements with the style property `width: 360px`. The rule applies only to `example.net` and its subdomains. - `example.net#@?#.banner:matches-css(width: 360px)` — this rule will disable the previous rule.