Back before web browsers had ad-blocking extensions, we had programs like Web Washer. It was a local, ad-blocking proxy program that you ran along side your browser. To use it, you just changed your browser's network settings to point to Web Washer. And the ads would be filtered before they even reached your browser. It would be no problem to implement this again.
It's a proxy though, so it could inspect the actual content, detect ads and do something about it. Peertube, Grayjay etc bypass ads just fine so I guess it could be done with the webapp?
Back before web browsers had ad-blocking extensions, we had programs like Web Washer. It was a local, ad-blocking proxy program that you ran along side your browser. To use it, you just changed your browser's network settings to point to Web Washer. And the ads would be filtered before they even reached your browser. It would be no problem to implement this again.
PiHole is the most common way I hear of network-level ad blocking these days.
blocking YouTube ads can't really be done just with a DNS adblocker tho. if it could then my pihole would be blocking them too
It's a proxy though, so it could inspect the actual content, detect ads and do something about it. Peertube, Grayjay etc bypass ads just fine so I guess it could be done with the webapp?
it can't inspect the content because https exists. it can only see where you are attempting to connect to
Well yeah it would have to MITM the connection, like Avast does.
If you install a TLS certificate theoretically yes