Able to block only one page in domain?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
ranuncudahlia
Posts: 2
Joined: Mon Mar 21, 2016 8:33 pm

Able to block only one page in domain?

Post by ranuncudahlia »

I want to be able to block ads only on search results on youtube; I'm fine with the ads that pop up when the video plays, because I want to support the content of the people I watch, but what I don't want is those annoying ads that load in your youtube search results: they always pop up AFTER the page has loaded, and half the time I end up clicking one of the ads rather than the video I wanted. I tried using

Code: Select all

@@||youtube.com/*(?!results?search*)
but either I'm horribly newbish and AB+ doesnt use regexp, or I've somehow mangled the code.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Able to block only one page in domain?

Post by mapx »

try

Code: Select all

@@/^((?!youtube.com/results).)*$/$document,domain=youtube.com
ranuncudahlia
Posts: 2
Joined: Mon Mar 21, 2016 8:33 pm

Re: Able to block only one page in domain?

Post by ranuncudahlia »

thank you very much!! completely solved the problem :mrgreen:
Locked