Comment

Comment by TekMol

I guess it would be easy to block ads via a proxy?

An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers.

And in Chrome, there is a setting to use a proxy.

So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

parent TekMol 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton