1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-27 02:20:50 +12:00
Commit graph

27 commits

Author SHA1 Message Date
calibrations 204aaae213 Fix and update legacy firefox vapi-client in the style of fa2658c (#900)
* Minimal refactor of vapi-client to get firefox version working

* Move messagingConnector into vAPI.messaging

* Improve vAPI.messaging setup and connecting

* Shutdown-related changes, implement remaining missing functions
2017-12-29 12:33:34 -05:00
gorhill b07972c526 minor code review 2017-04-07 07:23:43 -04:00
gorhill 3df7ee9cb1 fix regression bug introduced with 9a99a06c 2017-04-01 12:21:46 -04:00
gorhill 9a99a06cd4 fix https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10 2017-04-01 09:39:49 -04:00
gorhill 9e4e4943f3 this fixes many strictness warning in browser console 2015-08-27 14:29:35 -04:00
gorhill cef90f0b20 fixed bad wrapper around seTimeout 2015-05-27 17:26:12 -04:00
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 2015-05-09 19:18:16 -04:00
gorhill 764b1a0b7a jshint 2015-04-19 09:34:50 -04:00
gorhill 4fffc97954 untangling fennec code 2015-04-13 09:56:46 -04:00
gorhill db49291fa6 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox 2015-04-13 08:35:45 -04:00
gorhill 2fbca2cc09 forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 2015-04-13 08:35:45 -04:00
Deathamns afaf6aff9b vAPI.sessionId, element-picker dialog as iframe
vAPI.sessionId - random ID generated every time when a page loads.

Having the dialog in an iframe lowers the chance of interference with the
styling of the page, also avoids using innerHTML (AMO complaint).
2015-04-13 08:35:45 -04:00
Chris 0fbaf41d09 Remove previous Safari overhead; cleanup workarounds from rest of code 2015-04-13 08:35:45 -04:00
Deathamns 4b3d6716ff 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-04-13 08:35:45 -04:00
Deathamns f196d31a2f Firefox: behind-the-scene requests / non-http tabs 2015-04-13 08:35:45 -04:00
gorhill 995236c6a9 not needed 2015-04-13 08:35:45 -04:00
Deathamns a7f15f0b71 URL handling changes 2015-04-13 08:35:45 -04:00
Deathamns a6acb50892 Firefox: fixed content scripts? 2015-04-13 08:35:45 -04:00
Deathamns 5f92ce4599 Firefox: improvements for content scripts 2015-04-13 08:35:45 -04:00
Deathamns 1a1d1b1c4b Code styling 2015-04-13 08:35:45 -04:00
Deathamns 3e39e1bd9f 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:35:45 -04:00
Deathamns e70bf61206 Add license headers, plus some code styling 2015-04-13 08:35:45 -04:00
Deathamns 1ae15f1a61 Firefox: implement vAPI.tabs.injectScript 2015-04-13 08:35:45 -04:00
Deathamns 747f6f9955 Firefox: implement toolbar button and popup 2015-04-13 08:35:45 -04:00
Deathamns e96e535f3d Firefox: add basic blocking + some fixes 2015-04-13 08:35:45 -04:00
Deathamns dd6f3cc4b3 Firefox: partial vAPI.tabs implementation 2015-04-13 08:35:45 -04:00
Deathamns 8f0cf1d340 Initial Firefox port (base, messaging, locales) 2015-04-13 08:35:45 -04:00