How to blacklist a website and nothing else

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
TehDonutKing
Posts: 2
Joined: Sun Jan 05, 2014 2:24 am

How to blacklist a website and nothing else

Post by TehDonutKing »

I want to block ads on YouTube. Now, i know that AdBlock harms site's revenue, so i ONLY want to block websites with ads that i find bothersome. I don't want to subscribe to someone else's filter that filters out every ad and breaks websites' revenue. I don't want to have to whitelist every website except one, because i'm not going to whitelist every website i visit except two or three that are too obtrusive. A quick Google search led me to two filter rules:

Code: Select all

@@*$document,domain=youtube.com|thepiratebay.se
This does not work at all. Ads still show up on both websites.

The other suggestion was:

Code: Select all

*$domain=youtube.com
This causes the website to display improperly.

Will you please tell me how to add a blacklist so i can nuke ads with a clear conscience?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to blacklist a website and nothing else

Post by Gingerbread Man »

  1. While subscribed to EasyList, visit a site where you want ads to be blocked.
  2. Open the Blockable Items pane (Ctrl+Shift+V). Copy all the filters for blocked and hidden items. Paste them temporarily into a text editor like Notepad.
  3. Add the filters as custom filters (Ctrl+Shift+F to open the Adblock Plus preferences window).
  4. You can then disable the EasyList subscription while testing things out (clear the checkbox to its left). If you're sure you don't need it anymore, then you can delete it.
TehDonutKing wrote:

Code: Select all

@@*$document,domain=youtube.com|thepiratebay.se
This does not work at all. Ads still show up on both websites.
That's a whitelist filter, meaning you're allowing everything on those domains.
TehDonutKing wrote:

Code: Select all

*$domain=youtube.com
This causes the website to display improperly.
That blocks all content on that domain.

:arrow: en/filters
TehDonutKing
Posts: 2
Joined: Sun Jan 05, 2014 2:24 am

Re: How to blacklist a website and nothing else

Post by TehDonutKing »

Ah, thank you so much! This worked perfectly.
Post Reply