How do I block ads on YouTube?

blacklisting
#313

Hi All.
Try adding this one to the mix approx 1 million googlevideo domains in the list from memory.
Source: A free Thundercloud by zaclys.com 1 GB
https://ncloud.zaclys.com/index.php/s/TJkqZjCt99Xxjab

Use this one for Pi-Hole.
https://ncloud.zaclys.com/index.php/s/TJkqZjCt99Xxjab/download

2 Likes

#314

Hi,

Thanks for sharing this list.
Unfortunately, videos do not load anymore with this list on my side :confused:

0 Likes

#315

Ofcourse that doesn’t work, did you read all of this thread ? Then you should know, install “uBlock Origin” in your browser and all ads are gone.

0 Likes

#316

Now I can watch videos with 1 ads by videos (max 2) against 4/5 before for several youtubers, so yes, I read this thread.

Why do you have this reaction ? We know it’s not the best way to remove youtube ads, I think it’s not a reason to give up. Just ask you one question : “Maybe they have requirements to continue this topic?”

In my home, on Pc we have ads blocker, we use it, it’s ok, but we watch more videos with youtube application on TV, tablet or smartphone. For these support, the only free way that I know, it’s the pi-hole solution. If you have an other solution I’m totally open.

0 Likes

#317

Unfortunatly i have no solution for your setup, i only use my PC for the internet / youtube.

0 Likes

#318

I feel like this is going to always be a cat and mouse game. What I’ve done is a wildcard block on all googlevideo.com subdomains and then whitelist when i hit an endless pinwheel.

To whitelist, I’ll disable for 30 seconds, reload video and presto.

FWIW, I watch 80% of my YT on an Xbox One, so browser addons or vpns are out.

0 Likes

#319

Hello,

I also have the same problem. I have to review the list because I had to block YouTube videos instead of blocking ads.

Just refresh the page or just disable for 30 seconds pi-hole and that solves the problem.

0 Likes

#320

Try removing domains like this unsure really.

r1.sn-n5pbvoj5caxu8-nbo6.googlevideo.com
r2.sn-n5pbvoj5caxu8-nbo6.googlevideo.com
r4.sn-n5pbvoj5caxu8-nbo6.googlevideo.com

0 Likes

#321

I found that if a video doesn’t load, I press back and select the video a second time, that seems to work for me.

0 Likes

#322

Unfortunately this list isn’t available, now the link says:

Error
The requested share does not exist anymore

0 Likes

#323

The answer is True.
I have removed the links.
I mean I dont really know what is on them.

You could find someone with a copy and share?

0 Likes

#324

it works like a charm, but I keep seeing this ads empty windows in the video
https://gyazo.com/8bbcead1598ad8d857bf08ea2b5589ff

0 Likes

#325

hi is that sill possible to block youtube ads ? do you have a filter ? thanks :slight_smile:

0 Likes

#326

Try these there 2 month old.

encrypted-tbn1.gstatic.com
encrypted-tbn10.gstatic.com
encrypted-tbn2.gstatic.com
encrypted-tbn3.gstatic.com
encrypted-tbn4.gstatic.com
encrypted-tbn5.gstatic.com
encrypted-tbn6.gstatic.com
encrypted-tbn7.gstatic.com
encrypted-tbn8.gstatic.com
encrypted-tbn9.gstatic.com

0 Likes

#327

photos-ugc.4googleusercontent.com
photos-ugc.l.googleusercontent.com
photos-ugc2.googleusercontent.com
photos-ugc3l.googleusercontent.com
photos-ugc6.googleusercontent.com
etc

0 Likes

#328

I wrote a script (on github) to scan and add automatically addresses in the blacklist file.
After watching several videos it reduced number of ads significantly, without blocking main videos.

3 Likes

#329

Thank you, I’ve installed it and have rebooted my Pi (needed to run sudo chmod +x ads-catcher.sh after using wget as I saw in the log that permission was denied). There are so many ads at the moment. Looking forward to seeing how this goes.

1 Like

#330

you need to buy Youtube premium.
sadly you need to pay to block the adds.
Regards.

0 Likes

#331

I think there is a timing issue with a double request or something from browser and some how slips past the pihole. I answers the second request and plays ads.
I have 4 piholes connected in series now.
Updating block lists is a problem but do able.
Happy hunting.

0 Likes

#333

Whats your YouTube Complete URL?

For example
https://www.youtube.com/?reload=10

Then try clearing all browser Cache and try again.

0 Likes