this post was submitted on 06 Aug 2023
36 points (55.5% liked)

Memes

45151 readers
1871 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] hellishharlot@programming.dev 7 points 1 year ago (1 children)

ublock origin on my PC works amazing. I forget yt has ads most of the time. If web drm becomes a thing I'll hopefully have a pinhole in front of my traffic by then

[–] DNAmaster10@lemmy.sdf.org 4 points 1 year ago (1 children)

Not sure if you meant pihole or not, but if you did, I thought I'd just mention that a pihole doesn't remove ads on YouTube due to the fact that the ads and the videos are served from the same server. You block the ads, you block the videos. Made me quite sad after I set my one up.

Unless you didn't mean pihole, in which case do enlighten me as to what a pinhole is :))

[–] hellishharlot@programming.dev 1 points 1 year ago (1 children)

I meant pihole stupid autocorrect. That's sad to hear... I wonder how ublock works cause yt never shows ads for me but videos work great

[–] DNAmaster10@lemmy.sdf.org 1 points 1 year ago (1 children)

Yeah, I was super gutted when I found out. Apparently it did use to work in the past when they used to serve the ads from different servers, but not any more, unfortunately. It's not completely pointless to install, though. It provides some great software out the box to monitor internet traffic on your network, and I'm pretty sure that in some cases it can speed up your internet by acting as a self-hosted DNS server.

The reason UBlock works, is because it has direct access to the HTML, CSS and JavaScript sent to you. It can alter the web page directly. UBlock scans all the web pages you load, and automatically removes anything it recognizes as an ad. There's a lot more to it than just that, and it's a really clever tool, but essentially what it does is directly alter the code of the web page. Unfortunately, this isn't really possible to do from another device on your network. I did look into somehow setting up a device which scans all incoming traffic like Ublock does, and then removes adverts similarly, but this isn't really possible since HTTPS traffic is encrypted. Any attempt at removing the encryption would likely result in a heap of issues to using various services, and you'll likely get constant warnings on your browser about a page being insecure e.t.c.

[–] hellishharlot@programming.dev 1 points 1 year ago

Well that sucks. Thanks though