From d2c26b88530a704a3c844e20904ecd5fcf376e08 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Wed, 28 Dec 2022 08:36:24 +0100 Subject: [PATCH] According to https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-4501889 Testing with blocklisting `sclient` on Google and whitelisting `/^sc/`, it seems the reporter was 100% correct about this. --- Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md index 8a73694a0..aabb92001 100644 --- a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md +++ b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md @@ -83,7 +83,7 @@ * `$important`: Makes a resource-blocking entry take precedence over another whitelisting entry. * `$redirect`: Redirects resources to a neutered version that has been embedded in those extensions. Possible options are listed in [this file](https://github.com/gorhill/uBlock/blob/master/src/js/redirect-engine.js) (AdGuard has a [slightly smaller selection](https://github.com/AdguardTeam/AdguardBrowserExtension/blob/master/Extension/lib/filter/rules/scriptlets/redirects.yml)). * `$empty`: Results in a fake empty page or resource being loaded, instead of blocking the resource itself. -* `$removeparam` (prev. `$queryprune`): Removes URL parameters, e.g. `?tracker=sitecampaignpage`. Supports RegEx, but with many differences (One example, is that wildcarding is done with `/^textstart-/` instead of `/textstart-.*/`), since its RegEx blocks based on the parameter *and* its value, that a lack of `/^` will make it search *anywhere* in that string, and a lack of support for backslashing. +* `$removeparam` (prev. `$queryprune`): Removes URL parameters, e.g. `?tracker=sitecampaignpage`. Supports RegEx, but with many differences (One example, is that wildcarding is done with `/^textstart-/` instead of `/textstart-.*/`), since its RegEx blocks based on the parameter *and* its value, that a lack of `/^` will make it search *anywhere* in that string, and a lack of support for backslashing. Whitelistings must match the exact parameter that was blocked. * `$match-case`: Makes the criteria case-sensitive. uBO only supports it in RegEx entries. ## uBlock Origin, Adblock Plus and AdBlock only