Commit Graph

27 Commits (d22981dfbe46eb32c4ca0b0c60d996d8202a0726)

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
7 years ago
gorhill b07972c526 minor code review 7 years ago
gorhill 3df7ee9cb1 fix regression bug introduced with 9a99a06c 7 years ago
gorhill 9a99a06cd4 fix https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10 7 years ago
gorhill 9e4e4943f3 this fixes many strictness warning in browser console 9 years ago
gorhill cef90f0b20 fixed bad wrapper around seTimeout 9 years ago
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 9 years ago
gorhill 764b1a0b7a jshint 9 years ago
gorhill 4fffc97954 untangling fennec code 9 years ago
gorhill db49291fa6 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox 9 years ago
gorhill 2fbca2cc09 forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 9 years ago
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).
9 years ago
Chris 0fbaf41d09 Remove previous Safari overhead; cleanup workarounds from rest of code 9 years ago
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.
9 years ago
Deathamns f196d31a2f Firefox: behind-the-scene requests / non-http tabs 9 years ago
gorhill 995236c6a9 not needed 9 years ago
Deathamns a7f15f0b71 URL handling changes 9 years ago
Deathamns a6acb50892 Firefox: fixed content scripts? 9 years ago
Deathamns 5f92ce4599 Firefox: improvements for content scripts 9 years ago
Deathamns 1a1d1b1c4b Code styling 9 years ago
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.
9 years ago
Deathamns e70bf61206 Add license headers, plus some code styling 9 years ago
Deathamns 1ae15f1a61 Firefox: implement vAPI.tabs.injectScript 9 years ago
Deathamns 747f6f9955 Firefox: implement toolbar button and popup 9 years ago
Deathamns e96e535f3d Firefox: add basic blocking + some fixes 9 years ago
Deathamns dd6f3cc4b3 Firefox: partial vAPI.tabs implementation 9 years ago
Deathamns 8f0cf1d340 Initial Firefox port (base, messaging, locales) 9 years ago