Commit Graph

60 Commits

Author SHA1 Message Date
gorhill 04dad27165 this fixes warnings about "Services" being undefined after re-enabling uBlock 2015-06-17 17:56:04 -04:00
gorhill 34485a0465 code review 2015-06-17 14:06:59 -04:00
AlexVallat 909244cdbd Imported d9b23d4f10 2015-06-17 14:06:59 -04:00
gorhill 13d229eaa1 code review + report more accurately request types in logger 2015-06-04 09:37:53 -04:00
gorhill 579c4a1d5e this fixes #260 2015-05-29 16:40:59 -04:00
gorhill c73704ba48 code review 2015-05-28 14:49:36 -04:00
gorhill d8a47f1c0b getMessageManager() can throw 2015-05-22 12:19:17 -04:00
gorhill d9bb34102f style 2015-05-17 18:27:53 -04:00
gorhill d41408ebbc this fixes #211 2015-05-17 10:32:40 -04:00
gorhill 334855dcf7 injected script can throw 2015-05-16 16:31:44 -04:00
gorhill 65f6b36131 code review 2015-04-12 19:15:58 -04:00
gorhill 9752c49d17 this fixes #43 2015-04-12 18:55:16 -04:00
gorhill ad2bc8df74 removed spurious lines of code 2015-04-07 16:27:19 -04:00
gorhill bbe4f4743b translation work from https://crowdin.com/project/ublock 2015-04-02 08:54:06 -04:00
AlexVallat 6c8b2a1b61 Changes following review 2015-03-31 12:03:35 +01:00
AlexVallat ae310df6dd Merge branch 'webProgressListener'
Conflicts:
	platform/firefox/vapi-background.js
2015-03-31 08:00:50 +01:00
gorhill 8d61a04b3e translation work from https://crowdin.com/project/ublock 2015-03-28 15:17:40 -04:00
AlexVallat 7ec717d3fe More restrictive monitoring.
Probably doesn't make a difference, but at least theoretically more efficient.
2015-03-26 21:11:54 +00:00
AlexVallat 6123335c51 Use a nsIWebProgressListener instead of a tabsProgressListener for location change monitoring 2015-03-26 21:00:56 +00:00
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