Prerequisites
I tried to reproduce the issue when...
Description
AdGuard documentation linked to on the static filter syntax wiki page describes the ability to disable all $replace rules for a given match using the syntax @@||example.org^$replace. uBlock doesn't recognise this syntax, therefore it can't be used.
My use case is to disable a specific filter from the experimental filter list without using $badfilter or disabling the list entirely, as I have other provisions in place and don't want anything, present or future, from also applying itself.
A specific URL where the issue occurs.
https://www.photopea.com/
Steps to Reproduce
- Visit
https://www.photopea.com/ and check to see if the script mentioning width is present at the top of the head tag
- Attempt to disable the
$replace modifier by adding @@||photopea.com^$doc,replace to your custom filters (and enabling trust), then saving
- Check the example site again to see if this script is gone
Expected behavior
The script provided by the filter should be gone as a result of the defined exception filter.
Actual behavior
The script is still present, and the logger reports Invalid filter (user-filters): @@||photopea.com^$doc,replace.
uBO version
1.65.0
Browser name and version
Firefox Nightly 144.0a1
Operating System and version
Fedora Linux 42
Prerequisites
I tried to reproduce the issue when...
Description
AdGuard documentation linked to on the static filter syntax wiki page describes the ability to disable all
$replacerules for a given match using the syntax@@||example.org^$replace. uBlock doesn't recognise this syntax, therefore it can't be used.My use case is to disable a specific filter from the experimental filter list without using
$badfilteror disabling the list entirely, as I have other provisions in place and don't want anything, present or future, from also applying itself.A specific URL where the issue occurs.
https://www.photopea.com/Steps to Reproduce
https://www.photopea.com/and check to see if the script mentioning width is present at the top of the head tag$replacemodifier by adding@@||photopea.com^$doc,replaceto your custom filters (and enabling trust), then savingExpected behavior
The script provided by the filter should be gone as a result of the defined exception filter.
Actual behavior
The script is still present, and the logger reports
Invalid filter (user-filters): @@||photopea.com^$doc,replace.uBO version
1.65.0
Browser name and version
Firefox Nightly 144.0a1
Operating System and version
Fedora Linux 42