Commit Graph

15 Commits

Author SHA1 Message Date
Chris a17882a8cc Remove previous Safari overhead; cleanup workarounds from rest of code 2015-02-10 14:24:04 -07:00
Deathamns f9109d7460 Firefox: remove evalInSandbox
Probably we won't eval plain text code, which makes it unnecessary, also
this way the validator on AMO won't complain about it.
2015-01-27 13:31:17 +01:00
Deathamns 263b756764 Firefox: behind-the-scene requests / non-http tabs 2015-01-26 20:26:45 +01:00
gorhill ca77c677d7 not needed 2015-01-15 08:30:38 -05:00
Deathamns 089af13e32 URL handling changes 2015-01-15 13:24:35 +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 5e55ba772d Code styling 2015-01-13 07:29:49 +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 ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns 0f771e94d1 Firefox: add basic blocking + some fixes 2015-01-13 07:28:59 +01:00
Deathamns 3c76c61f61 Firefox: partial vAPI.tabs implementation 2015-01-13 07:28:57 +01:00
Deathamns 67f18d023c Initial Firefox port (base, messaging, locales) 2015-01-13 07:28:52 +01:00