Filter code for newest Youtube ads

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
singeryoon

Filter code for newest Youtube ads

Post by singeryoon »

It's annoying to see those google ads while playing video!
I want to know is there any code to block those ads in the video thanks!
LorenzoC

Re: Filter code for newest Youtube ads

Post by LorenzoC »

If you want to take the risk of nuking something else, you can try these as custom filters:
*_ads.*
*/pagead/*
*/ads_*
*/ads/*

They show ad "slow" in current ABP but they will be ok in the next ABP versions due to a new algorithm.
Warning: the shorter the "keyword", the higher the risk of "false positive".
But not a big deal, in case you meet some false positive elsewhere, just disable the above rules.
LorenzoC

Re: Filter code for newest Youtube ads

Post by LorenzoC »

And since you are at it, you can add also this other "nuking" rule:
*_banner.*
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Filter code for newest Youtube ads

Post by Hubird »

I do not recommend that anyone add any of the filters listed in the posts above, they are overly generic and will cause many false positives
LorenzoC

Re: Filter code for newest Youtube ads

Post by LorenzoC »

I don't recommend anybody to leave his/her bed in the morning since there is some chance to get overrun by a truck. :)

Jokes aside, it was clearly stated above that "generic" rules pose some risk of false positive.
BUT having them as custom filters IS NOT THE SAME AS having them included in a subscription.
The worst thing that can happen is the user who has those rules finds some issues and disables or deleted the rules above.
Which is every easy, not like parsing 10.000 rules in a subscription.
LorenzoC

Re: Filter code for newest Youtube ads

Post by LorenzoC »

Oh, BTW, I don't know any way to stop advertisement that is loaded by the Flash video itself. At least using ABP. Unless there is an external JS file that can be blocked without disrupting some other Flash function.
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Filter code for newest Youtube ads

Post by lewisje »

LorenzoC wrote:Oh, BTW, I don't know any way to stop advertisement that is loaded by the Flash video itself. At least using ABP. Unless there is an external JS file that can be blocked without disrupting some other Flash function.
It requires the use of some other tool (maybe Firebug) to determine what resources are being loaded by the Flash file, followed by manual insertion of an appropriate filter...and that only works in the Firefox version of ABP.
LorenzoC

Re: Filter code for newest Youtube ads

Post by LorenzoC »

That works if the "resource" is a separate JS file. But those webmasters know about it and either put the JS inline or mix the Flash variables with general JS code that is needed to other site functions. So maybe you stop the advertisement but kill also the thumbnails.

Do you know something else I am missing?
Locked