The only way I would enable ads

Various discussions related to Adblock Plus development

The only way I would enable ads

Postby adok » Fri Oct 02, 2015 3:30 am

From the FAQ: "Some users are even asking for a way to enable Adblock Plus on some websites only." Include me in that group!
adok
 
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

Re: The only way I would enable ads

Postby mapx » Fri Oct 02, 2015 8:36 am

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.
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: The only way I would enable ads

Postby adok » Mon Oct 05, 2015 4:42 pm

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?
adok
 
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

Re: The only way I would enable ads

Postby mapx » Mon Oct 05, 2015 4:48 pm

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.
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: The only way I would enable ads

Postby adok » Wed Oct 07, 2015 6:58 am

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.
adok
 
Posts: 3
Joined: Fri Oct 02, 2015 3:19 am

Re: The only way I would enable ads

Postby mapx » Wed Oct 07, 2015 8:18 am

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).
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 3 guests