Filter syntax issue

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
HeffeD

Filter syntax issue

Post by HeffeD »

What is the proper way to exclude domains from a third party script filter?

I've been using the filter Wladimir has suggested to deal with third party scripts,

Code: Select all

*$script,third-party
Although I can't remember where I read about that, I've been very happy with the results, but there is a domain or two that I'd like to exempt from the filter. I don't want to just whitelist the domain because I'd still like certain filters to function.

I've tried

Code: Select all

*$script,third-party$domain=~URL
and

Code: Select all

*$script,third-party$domain=~URL
The first one seems to not function at all, and the second does seem to function, but appears to also allow third party scripts to run on some domains other than the one specified in the filter. So I'm obviously doing something wrong, but I don't know what.

Any help would be appreciated!
Wladimir Palant

Post by Wladimir Palant »

Code: Select all

*$script,third-party,domain=~example.com
Note that in Adblock Plus 1.1 you can right-click a blocked script in the list of blockable items and choose "Disable this filter on example.com" from the context menu - it will add the domain option automatically.
HeffeD

Post by HeffeD »

Thanks Wladimir!

And the right click functionality sure makes things easy. I hadn't noticed that change. :)
Locked