Page 1 of 1

How can I block the ads of only one domain?

Posted: Sat Jul 26, 2014 10:41 am
by henx125
I'm trying to use the filter (maybe I am just not understanding how to use it) to block a specific domain (deviantart.com, in this case) from showing ads as many of them are malicious, but I cant seem to get the filter to do anything. I have the "disable everywhere" option checked on because I don't personally mind ads on other sites, but I can't tell if maybe that is overriding the filter or if the filter is only for deciding which sites' ads are not blocked. Any help on this would be appreciated.

Re: How can I block the ads of only one domain?

Posted: Sat Jul 26, 2014 11:21 am
by mapx
uncheck "disable everywhere" (because this option if checked disables completely ABP for all domains)

keep easylist enabled

use this custom filter

Code: Select all

@@*$document,domain=~deviantart.com

Re: How can I block the ads of only one domain?

Posted: Sat Jul 26, 2014 7:39 pm
by henx125
Awesome, that was exactly what I needed. Thanks so much for the help.

Re: How can I block the ads of only one domain?

Posted: Mon Mar 14, 2016 5:45 pm
by NetVicious
Hi mapx, it's this available on the last versions of AdBlockPlus ? (in my case v2.7.2 in Firefox)

I'm trying to use a filter like this:

Code: Select all

||domain_to_block.com^,domain=~www.onlyhere.com
And it won't works.

As I read, this filter should block all the content of domain_to_block.com and its subdomains only when I browsing http://www.onlyhere.com webpages.

I don't found any documentation of this kind of advanced filters.

Regards,

Re: How can I block the ads of only one domain?

Posted: Mon Mar 14, 2016 6:27 pm
by mapx
this topic has nothing in common with your goal (the filter I provided above will block ONLY the ads on the domain deviantart and all other sites will still show their ads)
if you want "block all the content of domain_to_block.com and its subdomains only when I browsing http://www.onlyhere.com webpages."

use

Code: Select all

||domain_to_block.com^$domain=onlyhere.com
about filters:
en/filters

Re: How can I block the ads of only one domain?

Posted: Tue Mar 15, 2016 2:12 pm
by NetVicious
Thx for the info and for the url of the documentation. :)