The only way I would enable ads

Various discussions related to Adblock Plus development
Post Reply
adok
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

The only way I would enable ads

Post by adok »

From the FAQ: "Some users are even asking for a way to enable Adblock Plus on some websites only." Include me in that group!
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: The only way I would enable ads

Post by mapx »

use the filter (which whitelists all the domains with some exceptions):

Code: Select all

@@*$document,domain=~example1.com|~example2.com|~subdomain.example3.com
where ~example1.com, ~example2.com and ~subdomain.example3.com are the domains on which you want ABP enabled.
adok
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

Re: The only way I would enable ads

Post by adok »

mapx wrote:use the filter (which whitelists all the domains with some exceptions):

Code: Select all

@@*$document,domain=~example1.com|~example2.com|~subdomain.example3.com
where ~example1.com, ~example2.com and ~subdomain.example3.com are the domains on which you want ABP enabled.
Sorry, it appears I was confused. I actually want to enable the reverse: disable ABP for all sites except the few I whitelist. I assume this is not yet possible?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: The only way I would enable ads

Post by mapx »

I actually want to enable the reverse: disable ABP for all sites except the few I whitelist.
You wanna say "except the few I block (where ABP is enabled)", right ?

it's exactly what my filter above does.
adok
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

Re: The only way I would enable ads

Post by adok »

mapx wrote:
I actually want to enable the reverse: disable ABP for all sites except the few I whitelist.
You wanna say "except the few I block (where ABP is enabled)", right ?

it's exactly what my filter above does.
Please permit me to try again, without mentioning APB or "whitelist": I would like the ability to block all ads on all sites EXCEPT those very few sites where I want to permit ads.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: The only way I would enable ads

Post by mapx »

It's how ABP is working now. ABP is enabled for all sites. You can disable ABP for a site (whitelisting that site) using the builtin feature in ABP.
It's possible also to whitelist all the sites and enable ABP only on some of them (it's what the filter above does; there is no builtin feature).
Post Reply