1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Deathamns
8693ab738d 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-02-14 10:47:04 +01:00
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