Commit Graph

71 Commits

Author SHA1 Message Date
Deathamns e0f214961d Miscellaneous changes 2015-01-13 07:30:04 +01:00
Deathamns a71c967613 Firefox: fixed content scripts? 2015-01-13 07:30:03 +01:00
Deathamns 687d226ce9 Firefox: improvements for content scripts 2015-01-13 07:30:01 +01:00
Deathamns a31c30d55e Firefox: simplify vAPI.app.restart 2015-01-13 07:29:59 +01:00
Deathamns 41ac8ad39f Firefox: workaround for the e10s crash 2015-01-13 07:29:57 +01:00
Deathamns 8a9165daa2 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
2015-01-13 07:29:56 +01:00
Deathamns 5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns 9169388849 Firefox: ownsWeak=true for observers, +minor mods 2015-01-13 07:29:47 +01:00
Deathamns dbfacad8a6 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-01-13 07:29:43 +01:00
Deathamns 7815455aca Fix build scipts' shebang, let -> const 2015-01-13 07:29:40 +01:00
Deathamns 7ade0ec7e8 Firefox: better way to get the messageManager 2015-01-13 07:29:39 +01:00
Deathamns ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns 8bb0d3276b Firefox: minor changes 2015-01-13 07:29:15 +01:00
Deathamns e20458a00f Firefox: fix script injection 2015-01-13 07:29:14 +01:00
Deathamns f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns 1eb81e4083 Firefox: fix 'main_frame' for e10s 2015-01-13 07:29:09 +01:00
Deathamns d13769b4a9 Firefox: initialize buttons when DOM is ready 2015-01-13 07:29:07 +01:00
Deathamns ec69a50101 Firefox: observe main_frame requests too 2015-01-13 07:29:05 +01:00
Deathamns 892e2fe45a Firefox: fix styling for toolbar button 2015-01-13 07:29:03 +01:00
Deathamns cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns e4329b7dfe Firefox: blocking and content scripts for e10s 2015-01-13 07:29:00 +01:00