logoalt Hacker News

essephtoday at 1:38 PM2 repliesview on HN

> It varies site to site, but keep in mind that ads have to be fetched and then displayed. That’s not free.

Move your ad blocking to a different layer. Like say, network level.


Replies

preg_matchtoday at 3:35 PM

This can be done but it’s not sophisticated enough for many ads. Websites are smart and will smuggle ads through known-good domains that you can’t block. You really need to be able to navigate the dom and use JS heuristics to identify ads and popups.

qweqwe14today at 2:56 PM

You could, but at the very least you'd need to MITM all HTTPS, and that means installing your own CA on all devices