Commit Graph

13 Commits (1b71f8bba3ff45c6b8f31faabea86d69de4c6767)

Author SHA1 Message Date
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