
Loading…
Options-only filter is not working #1038
LordJZ
commented
Owner
chrisaljoudi
commented
LordJZ
commented
I see, but uBlock supports filters with options (like ||google.com^$script) and claims to support ABP syntax.
LordJZ
commented
Why should I? uBlock claims to understand ABP syntax. If uBlock wants to use a different approach for some kinds of filters, that's fine, translate ABP syntax to something else.
gorhill
commented
Yes, the asterisk is not supported, i.e. *$script. Dynamic filtering is by far best to deal with this kind of filter: it can be easily toggled on/off, locally/globally.
I have no problem implementing this however. I will, mostly because of users importing their filters from another blocker.
LordJZ
commented
Ooh, thanks. Confirmed working.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ABP allows omitting the actual filter content, leaving $ options only.
Example:
$script-- disables all scripts$script,domain=google.com-- disables all scripts on google.com$script,third-party,domain=google.com-- disables all third-party scripts on google.comThese work in ABP, don't work in uBlock.
Firefox 36, uBlock 0.9.1.0. For testing, create
$scriptfilter and head to any javascript-using website e.g. facebook.com.