1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-07-03 13:30:31 +12:00
Commit graph

13 commits

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