Hacker News new | ask | show | jobs
by inhumantsar 592 days ago
Editing /etc/hosts is going to be the easiest option.

The best option would be to use a programming language and a good HTML parser to do the job. eg: Use Python and BeautifulSoup to dig through the tree looking for any HTML tag which references an ad-serving network.