Hacker News new | ask | show | jobs
by lxgr 55 days ago
What would prevent sites from just injecting ads into their content server-side? You'll always need both element and request blocking.
1 comments

That's why GP wrote MITM, not just network blocking. MITM implies the middlebox is trusted by the browser in which it has installed a certificate, so can see and modify content.
Hm, you mean basically to edit all HTML, CSS etc. just in time? This seems significantly harder (concepts spread over files being loaded in parallel or being partially cached etc) than to do it in the browser once everything is loaded.