4 ms·
I've found a few apps that are able to get around this. The Youtube app on my phone is still able to load ads even when I use this method, and the Hulu app on m
by ngngngng 8y ago
I've found a few apps that are able to get around this. The Youtube app on my phone is still able to load ads even when I use this method, and the Hulu app on my Playstation.
Does anyone know how they're able to do this and if there is a solution?
- vpx 8y agoYou can't block YouTube ads by blocking DNS queries, since they are served from the YouTube domain itself. Basically, you can't block them without blocking the entire site.
- Moru 8y agoThere are other ways of blocking YouTube ads that works great but needs an install on each device.
- fedorareis 8y agoHow does uBlock do it then? I always assumed it did blocking based on domain.
- smilespray 8y agoIt has access to and parses the web page and can as such do advanced pattern matching in various ways. Domain, subdirectory, file, you name it. It can also hide HTML elements known to contain ads in order to collapse the blank areas where the ads used to be.
- rohan1024 8y agoIt's not only blocks banner ads but also the ads that appear inside videos. How does it figure out the video stream is of ad? Their must be some sort of marker to separate out video stream from ad stream.
- luxpir 8y agoFrom my experience uBlock origin has a feature set/list that can do this where the more advanced uMatrix cannot. I run both and hope to not have to in future. Also run pihole for other devices where custom blocking is tricky.
- awat 8y agoI’ll add a link to a few blocklists when I get to my laptop. My understanding (I’m sure someone here knows more) is that the ads are served from dynamically generated urls so you can add them to url block lists based on url structure for some platforms.
- okcando 8y agoIf you're using Android, you can look into YouTube Vanced, which blocks ads, provides a dark mode, and enables some other features that are normally exclusive to Premium, like background play.
- magnetic 8y agoI don't know for sure since I don't know which apps you are talking about, but DNS blacklisting can be worked around by embedding your own libresolv and server configs into your app. That means you don't use the DNS servers provided by the platform, so you can use the ones you "trust".
- hedora 8y agoI imagine end users could then configure their routers to use udp port mapping to point all dns queries at the local dns resolver. Then, app developers could https tunnel out to a well-known ip running a dns resolver, I suppose. At that point, end users could configure routers to block all outgoing ip’s that weren’t recently returned by the local dns resolver. And so on. It is an arms race.