this post was submitted on 13 Jun 2023
505 points (99.8% liked)

Technology

37794 readers
273 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 2 years ago (5 children)

God the ads are awful. If they start blocking apps like Vanced and Browsers like brave, i will make a PiHole. And they can never block it.

[–] [email protected] 11 points 2 years ago

I think a pi hole dosen't work for youtube ads.

Piholes rely on blocking DNS requests to ad servers, but on youtube the servers that host the videos and the servers that host the ads are the same thing.

[–] [email protected] 8 points 2 years ago (1 children)

Unfortunately this is a question that comes up very often in the Pi-Hole community where the answer is always: no, a Pi-Hole cannot block YouTube ads.

This is because a pihole blocks at the DNS level and YouTube serves their ads from the YouTube.com domain. Block that and you lose full access to the site.

They recommend running either uBlock Origin alongside it and/or use apps such as newpipe for android and freetube for desktop.

That said, I will always recommend setting up a Pi-Hole if you're able to as the benefits of blocking trackers and ads from the entire network (which includes your cellphones, smart TVs, printers, IP cameras, etcetera) is definitely a good thing. Once set up it is 99% a "set it and forget it" kind of setup.

[–] [email protected] 1 points 2 years ago

I use vanced for my phone and on pc I use brave. So I already block everything. Thanks for teaching me how the ads on YouTube work.

[–] [email protected] 3 points 2 years ago (1 children)

While a Pi-hole would work in theory, Ads are just wrapped youtube videos as they come from the same servers. It would be a need of pinpointing each video individually.

My take is that we need uBlock to have a functionality to send data to people's Pi-Hole on a page by page basis.

[–] [email protected] 0 points 2 years ago (1 children)

"UBlock PiHole" is a great name for a team-up too.

[–] [email protected] 1 points 2 years ago

UBlock My PiHole ;)

[–] [email protected] 1 points 2 years ago (1 children)

When you do, please post a write up in diy so I can build one too 🥰

[–] [email protected] 1 points 2 years ago (1 children)

If you wanna start right now, heres a link to an LTT video on the process https://youtu.be/KBXTnrD_Zs4.

I also just read in some replies above that it doesn't block youtube ads so be warned.

[–] [email protected] 1 points 2 years ago

Aw shame! This whole thread is really helpful though so I'm sure I can figure something out

[–] [email protected] 1 points 2 years ago (1 children)

I tried watching an hour long video yesterday on YouTube. So many ads. So today I shall sort out a rip of the video I think so I can watch stuff uninterrupted.

[–] [email protected] 1 points 2 years ago

I download a lot of videos when I watch on desktop. This gets rid of ads. It also preserves them, since videos can get taken down for very esoteric reasons.