Commit Graph

67 Commits (a4fb878b082389830f4c9e9829e917a5a11ea7f3)

Author SHA1 Message Date
Deathamns 6571a0700f Firefox: workaround for the e10s crash 10 years ago
Deathamns 9f4e9d48da Firefox: blocking improvements / other fixes
- Implement pop-up blocking
- Support blocking redirected requests
- Fix Local mirroring and inline-script blocking
- Block content on data: and about:blank pages
10 years ago
Deathamns 40b191e9f4 Code styling 10 years ago
Deathamns de2f0bb292 Firefox: ownsWeak=true for observers, +minor mods 10 years ago
Deathamns 1b71f8bba3 Firefox: new method for request handling
Now both nsIContentPolicy and on-http-* observers are used for net request
monitoring.

Reasons:
 - In many cases, nsIContentPolicy.shouldLoad is invoked twice for the same
   resource, because of the speculative parsing.
 - nsIContentPolicy.shouldLoad don't have information about the channel,
   so it can't redirect the request, nor change its headers, however
   on-http-opening-request can.

Also, local mirroring and inline-script blocking has been implemented.
10 years ago
Deathamns 08f87c72bb Fix build scipts' shebang, let -> const 10 years ago
Deathamns 54d264646a Firefox: better way to get the messageManager 10 years ago
Deathamns 6faa9e85c2 Add license headers, plus some code styling 10 years ago
Deathamns afe6a29c36 Firefox: minor changes 10 years ago
Deathamns 0579c1bcaa Firefox: fix script injection 10 years ago
Deathamns d66b8aa329 Firefox: implement vAPI.tabs.injectScript 10 years ago
Deathamns 12ca303901 Firefox: fix 'main_frame' for e10s 10 years ago
Deathamns 0fd304947c Firefox: initialize buttons when DOM is ready 10 years ago
Deathamns 500213f479 Firefox: observe main_frame requests too 10 years ago
Deathamns 33c052e397 Firefox: fix styling for toolbar button 10 years ago
Deathamns 4f7070cf5d Firefox: implement toolbar button and popup 10 years ago
Deathamns 7f422ae479 Firefox: blocking and content scripts for e10s 10 years ago