Commit Graph

23 Commits (15dc2dc1e953258ec8fe5ba16d830fb7d8b2e773)

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