This is AdBlock's old support site. It is available for archival purposes only. To create a new discussion, or to visit the up-to-date knowledge base, please visit help.getadblock.com

Filtering specific ads on youtube.com

Jason's Avatar

Jason

24 Aug, 2013 08:29 AM

I have AdBlock configured to allow ads on the youtube.com domain, as I watch a lot of videos and want to support the creators of that content. I would however like to block some specific video ads that I find particularly obnoxious.

I've tried working on my own custom filters to achieve this, but I'm not sure how the matching is applied and whether there is a priority system in the filters that I can take advantage of.

Here is what I currently have:

||youtube.com^yFZIbt-vZH0^
||youtube.com^prTgYSjNdOY^
||youtube.com^ao4GAc9czT0^
||youtube.com^C73Wog4jP3k^
||youtube.com^lcHQtVssO24^
||youtube.com^BEVpM-R0mbk^
||youtube.com^M_M5iIs7dJM^

@@||youtube.com/$document
@@||multitwitch.tv/$document
@@||www.twitch.tv/$document

The last three lines are the sites that I want to allow ads on, and were created through using the "Don't run on pages on this domain" menu item on the AdBlock toolbar button. The other seven lines are my attempt to block some videos ads that are played before the YouTube videos that I want to watch.

I think the problem I am having is that @@||youtube.com/$document is undoing all of the good work of the previous lines, but that is just a guess. Is what I am wanting to do even possible?

  1. 1 Posted by Kieran on 24 Aug, 2013 08:53 PM

    Kieran's Avatar

    You've got the filters right, but I think the easiest way would be to "Unblock on this page" to do it for each video. Unfortunately, there is not yet a way to support only certain channels, unless somebody takes the AdBlock code (perfectly legal, we publish it all every time a new version is released) and modifies it to only work on YouTube and check the name of the channel you are watching, or puts in an &dontblockthis at the end of the YouTube videos you want, then told you to put in @@&dontblockthis|| in to your custom filters.

    If anyone else on the team can help, then feel free to do so.

  2. Jérémy closed this discussion on 04 Sep, 2013 08:38 PM.

Discussions are closed to public comments.
If you need help with AdBlock please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac