hey msatter, i dont know if the list works in other countries, i am from germany. if i look youtube i`ll put every advertise on my blacklist and then i copy my list to the file on the web. so i think it will block few things.
Forgive me I have been trying to wrap my head around regex and not sure I understand it at all, but we know the ads are coming from the googlevideos.com domain, and the prefix starts with an r. I know the syntax is not correct but wouldnt the regex just be something like r*.googlvideos.com
Basically a wild card saying if that sucker starts with r toss it out. so something like
r*.googlevideos.com
r*.*.googlevideos.com ( for the double prefix)
So I have AdBlock Plus addon on my Browser and it kicks out all Youtube Ads, I tried taking its list and adding it to pihole thinking may work but it didnt, how are they blocking them in the addon?
The browser plugin works like a local proxy (that's why is isolated to the device and not network wide).
It looks for specific content (not only hostname) in the way the video/url is called.
Ok so i validated that the following regex are able to match the required r patterns of google.video, however pihole doesnt seem to be blacklisting them, they are still being forwarded. can someone explain this?
here are the two regexs I made and I know they work:
(^r\d+\.+[a-z]+\-\w+\.)googlevideo\.com$ // for rXX.sn type pattern
(^r\d+\-+[a-z]+\-\w+\.)googlevideo\.com$ //for rXX--sn type pattern
could it be that there is something before the rXX that we are not seeing example some encoding charaters?
Sorry @pk198105 but it doesn't work here (netherlands), i use on my laptop chrome without any browserextension but the ad video's are not blocked at all.
NOTE: See the very top of this page: some things will work, some will not. You're better off getting the fingerprints/definitions from the variations of the script(s) above and having it block the ads for you that way. Otherwise, it becomes to tedious to keep up with and is really hit-or-miss.