I have Adblock Plus disabled by default at the moment, and I would like to block ads on some sites. Is this possible with Adblock, or do I need another addon?
Firefox – Adblock Plus – disabled by default and enable per site
adblockfirefox-extensions
Best Answer
I am assuming that you are asking about Adblock Plus. I cannot answer your question for other extensions, some of them implemented the Adblock Plus filter syntax in a slightly broken way.
Yes, running Adblock Plus in a whitelist mode is possible. It is somewhat awkward however, the user interface support for this feature is still very lacking. First of all you need to add the custom filter
@@*$document
that will have the effect of disabling Adblock Plus everywhere.To add this filter in Firefox:
To add this filter in Chrome or Opera:
The tricky part is updating the filter whenever you want to allow blocking on a particular website. Currently that's significantly simpler in Firefox:
This will automatically change the filter you've added into something like
@@*$document,domain=~example.com
.Now if you are on Chrome or Opera, there is currently no way to do that automatically - you will have to go into Adblock Plus options and edit the filter manually. That's actually easier if you click the "Edit filters as raw text" at the bottom of the "Add your own filters" tab. If you want to allow blocking on multiple domains the filter has too look like this:
@@*$document,domain=~example.com|~example.info|~foo.example.org
.Disclaimer: I am the lead developer of Adblock Plus.