Commit Graph

63 Commits (d82b455b4eef64a3e280a5e5582ba17be9f9682a)

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