I've been trying to figure out how to do a specific ad-blocking pattern with Adblock Plus for twitch.tv, a popular streaming website. Being that the people who stream there often make a living off of ad revenue, I choose to disable AdBlock Plus for streamers' channel pages. This is easy enough to do, even if you haven't read up on the filter syntax. However, there is a pesky hovering ad on another section of the website (http://www.twitch.tv/directory/following) that I would like to block and I can't seem to find a way to do this that isn't trumped by the filter exception used above.
To get into specifics, I'm using the standard filter exceptions rule for twitch.tv, along with one to block the specific add on /directory pages:
Code: Select all
@@http://www.twitch.tv/$document
|www.twitch.tv/directory/$document|##div[class="ad_contain nothidden"]