How do I block ads on YouTube?

blacklisting
#155

This feature is now implemented and available for early-on testing if you want to get your hands dirty. I guess that means the race is open for the best blocking regex!

3 Likes
#156

something interesting… I can’t watch (some) videos from youtube in my iPad or iPhone either on the web or the app, but on the computer is OK…

When I check it’s always the same domain blocked r16---sn-uxap5nvoxg5-ixhs.googlevideo.com.

I don’t know if this is the best approach… I still get adds from time to time in the computer but I can see some videos on other devices anymore.

#157

This has been reported above also.

I can confirm that blocking these domains, affects youtube playback on mobile devices.

#159

doesn`t exist

#160

clients6.google.com blocks messages from Hangouts from being sent.
Does anyone know what i.ytimg.com is? I see it quite frequently.

1 Like
#161

I think it handles the youtube thumbnails iirc.

#162

You’re right. Thanks!

#163

Can someone explain me step-by-step how this work? How can i use the script? I see many scripts in this topic. Wich must i use?

#164

don’t worry they aren’t working… I’m using them and I still see ads.

#165

There is still no solution to block YouTube ads on your network?

#166

I have the solution revealed here and it’s not working. Even worse, sometimes it’s blocking ads on mobile.

I’m not an expert in this field, but I think the real challenge is separare youtube’s domains that bring to you videos you want to see and videos that are ads.

#167

This is exactly it. Youtube was first to do this and it has worked very well for them to defend against DNS based ad blockers

#168

I’ve read that there ABP seems to block YouTube ads but I’ve haven’t tried and I probably won’t. I’m not sure what they are using.

I use ublock origin.

#169

I have added the lists from uBlock Origin into my PiHole, because they are open source and the lists are avail on github.
Not sure about ABP.

#170

add-ons and applications like uBlock, and ABP use a slightly different technology to block ads. where pi-hole only looks at XXXYYY.com
applications like listed above are able to look at XXXYYY.com/ZZZ

#171

Hi,

Can you give us the link to download list from uBlock Origin ?
Thanks.

#172

Add each one separately.

4 Likes
#174

It was fast :star_struck:
Thanks

#175

You can hit the heart symbol on my post instead of typing Thanks. It’s easier :slight_smile:

#176

Could you tell me how you added them? I’m too noob in this =(