3 ms·
You 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
by vpx 7y ago
You 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 7y agoThere are other ways of blocking YouTube ads that works great but needs an install on each device.
- fedorareis 7y agoHow does uBlock do it then? I always assumed it did blocking based on domain.
- smilespray 7y 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 7y 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 7y 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.