Commit graph

178 commits

Author SHA1 Message Date
gorhill
b9e07a16e3 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox 2015-04-09 07:15:14 -04:00
gorhill
6441161329 refactored tabs/context code 2015-04-08 18:46:08 -04:00
gorhill
ad2bc8df74 removed spurious lines of code 2015-04-07 16:27:19 -04:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
2dde6f15de new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -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
AlexVallat
50dfc40f26 No need for special treatment for about:blank and about:newtab 2015-03-31 07:48:45 +01:00
AlexVallat
49442e237e Fix for #1122 2015-03-31 07:48:45 +01:00
AlexVallat
726325ea0d Remove onNavigation from onTabSelect, as mentioned in #1125 2015-03-30 18:35:18 +01:00
gorhill
8d61a04b3e translation work from https://crowdin.com/project/ublock 2015-03-28 15:17:40 -04:00
gorhill
f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
AlexVallat
6123335c51 Use a nsIWebProgressListener instead of a tabsProgressListener for location change monitoring 2015-03-26 21:00:56 +00:00
Deathamns
bb1bb84682 Merge pull request #1084 from AlexVallat/master
Fix for #1072: Listen to DOMTitleChanged
2015-03-26 16:56:36 +01:00
AlexVallat
019ce25822 Cleanup for DOMTitleChanged listener 2015-03-26 15:44:57 +00:00
gorhill
2504f8ad35 #1013: Firefox support 2015-03-26 09:50:07 -04:00
AlexVallat
766537962c Fix for #1072: Listen to DOMTitleChanged as additional navigation event for Fennec 2015-03-24 07:56:18 +00:00
gorhill
4006b99e69 #1057: cleanup code 2015-03-21 08:22:34 -04:00
gorhill
7e8d2e431b this fixes #1057 2015-03-20 19:17:07 -04:00
Deathamns
0e22af516f Firefox: handle nsIContentPolicy.TYPE_IMAGESET
https://bugzil.la/1055750
2015-03-20 13:52:01 +01:00
Deathamns
51532fc74e Firefox: register unload event sooner 2015-03-18 12:47:07 +01:00
Deathamns
6c0bde394d Firefox: check for non-existent button 2015-03-18 07:17:10 +01:00
AlexVallat
8474f8b5d0 Robustness changes from watching logs in Fennec 2015-03-17 18:09:40 +00:00
Deathamns
58e8b5bf5f Firefox: determine tabIds via <browser> 2015-03-17 07:05:02 +01:00
Deathamns
ebf840c35d abp:subscribe fixes
Test a[href^="abp:"], since the protocol probably not used for anything
else, also "a", because ABP checks only anchors, and these links are made
only for ABP.

Also, the event target is not always the link, so at least some parents
should be tested as well.
2015-03-16 10:47:29 +01:00
Raymond Hill
38d308f1f0 Merge pull request #1021 from AlexVallat/master
Fix for #1017 (and #1001)
2015-03-15 13:28:32 -04:00
Deathamns
90295e7bef Firefox: update buttons when addon is enabled 2015-03-15 17:49:36 +01:00
AlexVallat
50804eb1bb Fixing #1017, only apply switch to about:blank or about:newtab if not loading 2015-03-15 16:07:46 +00:00
AlexVallat
05540108b7 Testing alternative tab ID for Fennec (issue #1001) 2015-03-15 16:07:37 +00:00
Deathamns
ac09dfadab No hasAttribute on tab objects in Fennec 2015-03-15 15:06:48 +01:00
gorhill
b83e0b46d5 move platform-specific images to their respective platform 2015-03-15 08:17:38 -04:00
gorhill
1baaf8a76a fixed ff icons 2015-03-14 19:25:26 -04:00
Deathamns
d660604b8d Firefox: badge color fix 2015-03-12 20:38:21 +01:00
Deathamns
16218a1609 Code organizing 2015-03-12 18:48:43 +01:00
Deathamns
4ad9858357 Firefox: load content-scripts on extension start 2015-03-12 18:20:48 +01:00
Deathamns
48503f7009 Firefox: bypass cache when reloading a tab 2015-03-12 15:46:33 +01:00
Deathamns
2e076f7e4e Remove unnecessary fallback code for downloading 2015-03-12 12:09:45 +01:00
gorhill
60e36c0ffe this helps #993 2015-03-11 19:48:00 -04:00
AlexVallat
825adfa80e Trying to fix merge 2015-03-10 18:44:31 +00:00
AlexVallat
62c8ffbcc4 Merge branch 'master' of https://github.com/gorhill/uBlock
Conflicts:
	platform/firefox/vapi-background.js
	src/_locales/en/messages.json
2015-03-10 18:34:16 +00:00
AlexVallat
b1f19376e8 Changes following review at https://github.com/gorhill/uBlock/pull/956#issuecomment-78047032 2015-03-10 18:01:37 +00:00
gorhill
8341fb2193 this fixes #967 2015-03-08 11:06:36 -04:00
Deathamns
25d5166eb6 Firefox: change badge color in onWidgetUnderflow 2015-03-08 07:39:58 +01:00
AlexVallat
4481e951cc Merge branch 'master' of https://github.com/gorhill/uBlock 2015-03-07 14:11:35 +00:00
Deathamns
4a10a51d20 Firefox: different way for reloading a tab 2015-03-04 12:29:29 +01:00
AlexVallat
e222ace6ef Merge branch 'master' of https://github.com/gorhill/uBlock 2015-03-02 19:08:05 +00:00
AlexVallat
2b60436ece Initial UI support for Fennec 2015-03-02 18:49:34 +00:00
Deathamns
1d3205ea81 Firefox: block popups earlier 2015-03-02 18:36:04 +01:00
Deathamns
cc47d13207 Firefox: workaround for #886 2015-03-02 17:49:25 +01:00
Deathamns
8bedabb5ef Firefox: handle behind-the-scene redirects 2015-03-02 12:52:04 +01:00
Deathamns
9dbb00819f Fennec: fix tab title 2015-03-01 21:38:51 +01:00
AlexVallat
4edbdd9dd5 https://github.com/gorhill/uBlock/issues/524#issuecomment-76620479 2015-03-01 19:47:03 +00:00
Deathamns
da3586adde Firefox/Fennec fixes 2015-03-01 20:21:05 +01:00
AlexVallat
a8c1cb9dff Fixing up basic functionality for Fennec 2015-03-01 17:45:12 +00:00
Deathamns
dc8623f1e8 Firefox/Fennec code cleanup 2015-02-28 20:46:49 +01:00
Cheng Sun
aa0e713c79 Fennec WIP #2 2015-02-28 20:46:48 +01:00
Cheng Sun
7a0044391b Use named "same document" constant instead of hardcoding 2015-02-28 20:46:47 +01:00
Deathamns
9fe8f41426 Firefox: toolbar icon fixes for Firefox 36+ 2015-02-28 11:58:09 +01:00
Deathamns
18a636305f Firefox: behind-the-scene request types 2015-02-28 07:38:41 +01:00
Deathamns
f20372cf73 Remove unused code 2015-02-17 22:05:23 +01:00
gorhill
273dcd763f this fixes #730 2015-02-12 09:24:45 -05:00
gorhill
77044c6c98 link to relevant jsperf 2015-02-01 12:25:14 -05:00
gorhill
5d0b110aec use static function instead of closure 2015-02-01 10:15:35 -05:00
Deathamns
21b42304fe Firefox: get the version number from the fragment 2015-01-29 14:12:21 +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
d24263aa17 Firefox: vAPI.tabs.onNavigation() for about: pages 2015-01-27 11:13:33 +01:00
Deathamns
263b756764 Firefox: behind-the-scene requests / non-http tabs 2015-01-26 20:26:45 +01:00
gorhill
7b8392ca48 more fixes for #105 2015-01-21 11:13:32 -05:00
gorhill
4edfae4b94 code review: jshint'ed 2015-01-21 08:59:23 -05:00
gorhill
255c68baa4 this fixes #536 2015-01-20 19:39:13 -05:00
gorhill
fdaec4b421 new version 2015-01-19 20:30:27 -05:00
gorhill
7f78ce2260 bring up to date with master 2015-01-19 18:45:00 -05:00
gorhill
759a156e24 started work on #105, #475, and possibly #510 2015-01-19 18:42:58 -05:00
gorhill
5ee417e110 new revision 2015-01-18 22:26:07 -05:00
Chris
5aafafd50d Fix set for Firefox & Safari (don't set non-own properties in for..in loop) 2015-01-18 11:50:20 -07:00
gorhill
ab99683454 new revision + fixed frame parent id 2015-01-17 18:02:45 -05:00
gorhill
df69e22bb9 fixed bad test 2015-01-17 15:52:36 -05:00
gorhill
a4b780acc8 new revision 2015-01-17 07:56:57 -05:00
Deathamns
48134d9469 Firefox: minimal effort to support older versions 2015-01-16 11:42:34 +01:00
Deathamns
f6e996c25a Firefox: suppress some "unsafe CPOW usage" message 2015-01-16 09:01:40 +01:00
Deathamns
32c7bf854b Firefox: fix tab closing issue (pop-up blocking) 2015-01-15 15:58:14 +01:00
Deathamns
089af13e32 URL handling changes 2015-01-15 13:24:35 +01:00
gorhill
119a98026c code review re #498 2015-01-14 19:43:10 -05:00
gorhill
ee01803419 this fixes one part of #498 2015-01-14 17:45:55 -05:00
Deathamns
511b700517 Firefox: lower popup resize delay 2015-01-14 19:13:27 +01:00
Deathamns
7bf0113db9 Firefox: fix tooltip animation 2015-01-13 21:33:26 +01:00
gorhill
31e2b1ac03 Merge branch 'master' of github.com:gorhill/uBlock 2015-01-13 11:55:02 -05:00
gorhill
b436f8e829 this fixes #490 2015-01-13 11:54:54 -05:00
Deathamns
7d2fe49eb0 Fix popup tooltips and sizing for Firefox 2015-01-13 17:20:16 +01:00
Deathamns
b4ea545412 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
2015-01-13 07:30:07 +01:00
Deathamns
3522f0414d Firefox: remove unloading from vAPI 2015-01-13 07:30:05 +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
d0de3d0d72 Firefox,Safari: implement vAPI.tabs.reload 2015-01-13 07:30:00 +01:00
Deathamns
a31c30d55e Firefox: simplify vAPI.app.restart 2015-01-13 07:29:59 +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
05bcc070a9 Firefox: popup size for menu-panel 2015-01-13 07:29:54 +01:00
Deathamns
a8e02d4dfa Firefox: fix copy-paste memory leak 2015-01-13 07:29:51 +01:00