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

41 Commits

Author SHA1 Message Date
Deathamns
4ad9858357 Firefox: load content-scripts on extension start 2015-03-12 18:20:48 +01:00
Deathamns
c4b06eecd2 Firefox: abp:subscribe 2015-03-10 13:06:59 +01:00
gorhill
2478bd4f61 this fixes #224 for Chromium 2015-03-09 12:57:52 -04:00
Deathamns
da3586adde Firefox/Fennec fixes 2015-03-01 20:21:05 +01:00
Deathamns
dc8623f1e8 Firefox/Fennec code cleanup 2015-02-28 20:46:49 +01:00
Deathamns
3150c286cf Firefox: match Chrome's behavior with frame ids 2015-02-15 19:25:11 +01:00
gorhill
da54ae5726 #795: code review as per @Deathamns feedback 2015-02-15 11:16:48 -05:00
gorhill
551308455c this fixes #795 2015-02-15 08:12:56 -05:00
Deathamns
c381183570 Firefox: remove unused arguments 2015-02-05 18:05:41 +01:00
Deathamns
ee5a023e03 Firefox: don't close popups after user interaction 2015-01-28 21:08:24 +01:00
Deathamns
a8b33a4a45 Doesn't work 2015-01-27 22:05:01 +01:00
Deathamns
9030bc6e53 Firefox: use correct data for parentFrameId 2015-01-27 17:56:04 +01:00
Deathamns
9bd31f1362 Firefox: each frame should have a unique ID 2015-01-27 16:37:02 +01: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
4a21d49313 Update frameModule.js 2015-01-26 20:38:22 +01:00
Deathamns
263b756764 Firefox: behind-the-scene requests / non-http tabs 2015-01-26 20:26:45 +01:00
Deathamns
48134d9469 Firefox: minimal effort to support older versions 2015-01-16 11:42:34 +01:00
Deathamns
32c7bf854b Firefox: fix tab closing issue (pop-up blocking) 2015-01-15 15:58:14 +01:00
gorhill
97b5ad9ad5 removed unused code for the time being 2015-01-15 08:41:30 -05:00
Deathamns
089af13e32 URL handling changes 2015-01-15 13:24:35 +01:00
Deathamns
e0f214961d Miscellaneous changes 2015-01-13 07:30:04 +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
a31c30d55e Firefox: simplify vAPI.app.restart 2015-01-13 07:29:59 +01:00
Deathamns
41ac8ad39f Firefox: workaround for the e10s crash 2015-01-13 07:29:57 +01:00
Deathamns
8a9165daa2 Firefox: blocking improvements / other fixes
- Implement pop-up blocking
- Support blocking redirected requests
- Fix Local mirroring and inline-script blocking
- Block content on data: and about:blank pages
2015-01-13 07:29:56 +01:00
Deathamns
5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns
9169388849 Firefox: ownsWeak=true for observers, +minor mods 2015-01-13 07:29:47 +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
7815455aca Fix build scipts' shebang, let -> const 2015-01-13 07:29:40 +01:00
Deathamns
7ade0ec7e8 Firefox: better way to get the messageManager 2015-01-13 07:29:39 +01:00
Deathamns
ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns
8bb0d3276b Firefox: minor changes 2015-01-13 07:29:15 +01:00
Deathamns
e20458a00f Firefox: fix script injection 2015-01-13 07:29:14 +01:00
Deathamns
f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns
1eb81e4083 Firefox: fix 'main_frame' for e10s 2015-01-13 07:29:09 +01:00
Deathamns
d13769b4a9 Firefox: initialize buttons when DOM is ready 2015-01-13 07:29:07 +01:00
Deathamns
ec69a50101 Firefox: observe main_frame requests too 2015-01-13 07:29:05 +01:00
Deathamns
892e2fe45a Firefox: fix styling for toolbar button 2015-01-13 07:29:03 +01:00
Deathamns
cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns
e4329b7dfe Firefox: blocking and content scripts for e10s 2015-01-13 07:29:00 +01:00