Hacker News new | ask | show | jobs
by stephenr 2191 days ago
Does network filtering not rely on JavaScript now?
1 comments

The webRequest api uses javascript, but with code that runs in the context of the extension, not code that is injected into web pages. You can read a bit more here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
Great so not javascript running "in the context" of the page.. just javascript running.. somewhere else, for every single network request that is made, and that still has access to the page.

I know a lot of web developers don't want to hear this, but throwing more javascript at the problem isn't always the best solution.