this post was submitted on 13 Jun 2023
526 points (100.0% liked)

Technology

37719 readers
103 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
[–] zakharov@lemmy.fmhy.ml 6 points 1 year ago (2 children)

At least for me, and as far as I know, Pihole doesn't block YouTube ads. Someone please correct me if I'm wrong because I'd love a network-level solution. Currently just have uBlock Origin for blocking YT ads.

[–] krogers@beehaw.org 10 points 1 year ago

uBlock Origin does a good job for me. On occasion, I will try watching YouTube on a platform where I don't have it and I'm amazed how unwatchable it is. This reminds me to try to find alternate platforms for watching the creators I care about. Nebula is a good option for a lot of them, although it probably will never have the variety YouTube has. I haven't tried PeerTube yet...I suspect I will run into the same issue.

[–] misguidedfunk@beehaw.org 6 points 1 year ago (3 children)

Pihole will not block YouTube ads. I think it’s incapable of doing so without blocking YouTube.

I can confirm this - the content comes from the same DNS name as the ads, this means pihole cannot distinguish between them

The solution then falls on something like ublock origin - sadly layers of ad blocking is needed in this day and age

[–] dormedas@lemmy.dormedas.com 1 points 1 year ago

Yup. Pi-hole does DNS-level blocking which would only work if YouTube put their ads on some separate (sub)domain.

I actually experimented the other day by turning off ublock origin and letting Pi-hole try to do the work, but I saw ads.

Theoretically, YouTube could set up their infrastructure in such a way as to put the ads in the video stream you receive, but that is complex and has other risks and trade offs.

[–] SoftestVoid@beehaw.org 1 points 1 year ago

The problem is that unlike a lot of other ads YouTube serves its ads from YouTube.com and because of SSL PiHole can only act on YouTube.com as a whole, so there's no way to block just the ads without blocking all of the site.