Commit Graph

572 Commits

Author SHA1 Message Date
gorhill 13afd622ee this fixes #868 2015-10-27 10:11:52 -04:00
gorhill da6c7b8b5e code review: fixed sorting of 1st-party hostnames 2015-10-25 08:18:10 -04:00
gorhill d83d194a7b compatible with FF for Android 41 2015-10-23 14:57:42 -04:00
gorhill 013a593e81 comment 2015-10-23 13:11:27 -04:00
gorhill 429d3f5017 code review: not all windows have tabs 2015-10-23 12:58:54 -04:00
gorhill b04f6e0d2a reportedly works fine on thunderbird 31.0 2015-10-22 18:28:55 -04:00
gorhill 0eb0708a5b code review: only clients of win watcher care about window type 2015-10-22 18:27:24 -04:00
gorhill 523ce7bfe0 code review 2015-10-22 07:22:18 -04:00
gorhill 567b1007f8 reworked window management for https://github.com/gorhill/uMatrix/issues/357 2015-10-22 07:16:21 -04:00
gorhill 0ae483704f put back windowWatcher: https://github.com/gorhill/uMatrix/issues/357 2015-10-21 14:36:50 -04:00
gorhill 43a5ed735b admin storage is accessed only by main context 2015-10-21 13:30:04 -04:00
gorhill 892913d185 this fixes #832 2015-10-21 11:53:03 -04:00
gorhill 1d85c16f82 hopefully this finally fix https://github.com/gorhill/uMatrix/issues/357 2015-10-21 09:02:31 -04:00
gorhill 5a9b96d7b5 code review 2015-10-20 06:46:26 -04:00
gorhill 1598273d6a minor code review 2015-10-19 19:05:18 -04:00
gorhill 3f0457a5c4 confirmed working with all Firefox flavors 2015-10-19 16:07:09 -04:00
gorhill b859d22c83 this fixes #845 2015-10-19 13:13:22 -04:00
gorhill e7daeb3edc more sensible var naming 2015-10-19 09:22:23 -04:00
gorhill 7e89b7a161 attach to window even if a tab browser is not present 2015-10-18 17:18:04 -04:00
gorhill e152db7004 limit search of adjacent button to current toolbar 2015-10-18 13:41:33 -04:00
gorhill 475f80239a toolbar icon: no need to keep looking for a spot once one found 2015-10-18 08:41:27 -04:00
gorhill 88dac6d4a1 minor code review 2015-10-17 18:30:59 -04:00
gorhill a19f5701ef more safeguard code to maximize success at attaching to a window 2015-10-17 18:08:46 -04:00
gorhill 308dd4bb30 more deferring code re. toolbar icon on legacy Firefox (#833) 2015-10-17 16:07:53 -04:00
gorhill cfdbacd0ad reworked legacy toolbar button in attempt at fixing #833 2015-10-17 11:50:34 -04:00
gorhill 230639d959 bumping max version for SeaMonkey to 2.38 2015-10-16 16:21:46 -04:00
gorhill 9559b6462c added @M-Reimer 2015-10-16 12:38:31 -04:00
gorhill 7d9525d6e9 let's see if this helps #833 2015-10-16 10:13:33 -04:00
gorhill 6424aee788 this fixes #820 2015-10-13 09:34:11 -04:00
gorhill ceb9800eb1 code review 2015-10-12 17:06:25 -04:00
Manuel Reimer 0eb42fdf4b Thunderbird: Fix closing extension tabs 2015-10-10 23:33:08 +02:00
gorhill 300968ac34 this fixes more Thunderbird errors in console 2015-10-09 10:37:02 -04:00
gorhill b885352724 this fixes bad code review 2015-10-09 10:24:48 -04:00
gorhill dc2dc3753d this should fix AMO validator error 2015-10-09 07:40:49 -04:00
gorhill 91ecabf82a code review 2015-10-08 17:44:21 -04:00
Manuel Reimer 7501447cac Added basic Thunderbird support 2015-10-08 19:15:00 +02:00
gorhill 097489b4e0 new revision 2015-10-08 11:15:58 -04:00
gorhill 2ed90e1993 convert hard tabs to soft tabs 2015-10-03 09:44:23 -04:00
Jan Seeger e27151d4d7 Added double braces to application ID. 2015-10-03 15:35:56 +02:00
Jan Seeger e40e2345f9 Tab fixes, broken XML fixes.
Replaced tabs with spaces, added missing namespace for Description element.
2015-10-03 15:18:22 +02:00
Jan Seeger 95037276c8 Added Conkeror to the list of supported platforms.
uBlock Origins runs well in Conkeror, an emacs-inspired browser. This
patch makes it possible to install the plugin directly, without having
to modify the install.rdf file.
2015-10-03 14:24:00 +02:00
gorhill c141a29295 comment grammar 2015-09-30 09:35:24 -04:00
gorhill 8d294869fe this fixes #756 2015-09-30 09:33:38 -04:00
gorhill 6c65672db0 this fixes #640 2015-09-25 12:26:56 -04:00
gorhill f681bac407 reverting #739: this broke normal install 2015-09-25 11:54:07 -04:00
gorhill 8388ab4408 Merge branch 'master' of github.com:gorhill/uBlock 2015-09-25 08:32:06 -04:00
gorhill 69d4a0aa0a attempt at fixing #362 2015-09-25 08:29:52 -04:00
Neil Richardson 93fb1dd251 Do not call onReady if addon is installing
If the uBlock extension is installed globally for all users on a machine, a user's first run of Firefox will fail to load uBlock because the call to appShell.hiddenDOMWindow will throw an exception. A second run of Firefox will load uBlock successfully.

The change will skip the call to onReady if the reason for the call to startup is because the addon is being installed.
2015-09-25 14:52:54 +08:00
gorhill c3c4d75e8e #697: mind Firefox for Android 2015-09-14 14:46:12 -04:00
gorhill 549796003c #697: forgot to comment out related removeEventListener 2015-09-14 11:30:56 -04:00
gorhill bc287f98aa this fixes #697 2015-09-14 11:28:33 -04:00
gorhill 6763cca756 fixed comment 2015-09-10 09:54:38 -04:00
gorhill 583daddbf8 this fixes #654 2015-08-29 18:35:08 -04:00
gorhill 1c2ea2e921 works fine on FF43 and PM26 2015-08-20 07:34:53 -04:00
gorhill 9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill 5366697a0c this fixes https://github.com/gorhill/uBlock/issues/80#issuecomment-132081658
get/setComplexValue must be used to ensure proper handling of Unicode string
in `about:config`.
2015-08-18 08:58:06 -04:00
gorhill 7373fb77f5 code review 2015-08-16 08:58:41 -04:00
gorhill 56451cf069 code review for last commit 2015-08-15 16:19:38 -04:00
gorhill 2d131e8fab this foils "speculative pre-connections" 2015-08-15 16:00:51 -04:00
gorhill 5de5074f1c this fixes https://github.com/gorhill/uMatrix/issues/325 2015-08-15 14:17:50 -04:00
gorhill 180856bd0d do not strip out window components in logger-as-popup-window 2015-08-14 10:13:08 -04:00
gorhill 29b695d813 changes for a beta channel on AMO 2015-08-12 16:31:19 -04:00
gorhill abc7a526da code review 2015-08-11 18:48:52 -04:00
gorhill 690421aead sync feature (#80): draft 2015-08-11 15:29:14 -04:00
gorhill 8e4f998a32 this fixes #574 2015-08-06 14:43:35 -04:00
gorhill 528354f594 this fixes #507 2015-08-01 11:30:54 -04:00
gorhill 04d11d25b6 minor code review 2015-07-28 08:54:12 -04:00
gorhill c1e54d33b2 explicit support for Pale Moon 2015-07-24 19:26:39 -04:00
gorhill 3311b0fb1d default about better than custom about 2015-07-21 07:48:48 -04:00
gorhill 2ec0161471 commenting out debugging code 2015-07-12 19:33:12 -04:00
gorhill d7fa72b4ec works with Nightly 2015-07-12 08:38:22 -04:00
gorhill 1ac3d61427 add entries to manifest 2015-07-11 12:58:50 -04:00
gorhill bd43babf75 this fixes #470 2015-07-09 12:52:56 -04:00
gorhill 969e533ba8 this fixes #455 (regression) 2015-07-08 09:56:06 -04:00
gorhill a9089b3120 this fixes #452 2015-07-07 12:11:11 -04:00
gorhill 32d2ae0e11 this probably fixes #453 2015-07-07 11:03:26 -04:00
gorhill 7a00310934 this may fix #450 2015-07-07 09:10:53 -04:00
gorhill 46cbe42227 code review 2015-07-05 09:26:33 -04:00
gorhill 35ef80f3aa code review re. sandbox shutdown 2015-07-03 13:32:00 -04:00
gorhill 352ef808f1 code review: this taks care of ea4faff383 (commitcomment-11964137) 2015-07-03 07:00:29 -04:00
gorhill 75645e2f83 this fixes #429 2015-07-02 08:20:56 -04:00
gorhill ea4faff383 this fixes FF logger not being resizable 2015-07-01 18:08:51 -04:00
gorhill ad827576ce have the logger open in a separate window 2015-07-01 12:18:03 -04:00
gorhill bd9a63a73c Merge branch 'master' of github.com:gorhill/uBlock into inspector 2015-06-30 18:08:49 -04:00
gorhill ecd003ff4a this addresses #414 2015-06-30 01:59:22 -04:00
gorhill aeba71790f some refactoring: move to-aux-process-messaging timeout into vAPI 2015-06-29 10:46:20 -04:00
gorhill 39b0d719c0 some more work re inspector 2015-06-28 17:42:08 -04:00
gorhill 7d2855180c some refactoring of new DOM inspector code 2015-06-26 15:45:54 -04:00
gorhill 631443768f dom inspector: ébauche 2015-06-26 00:08:41 -04:00
gorhill 0afbb98f42 this fixes #399 2015-06-25 09:05:24 -04:00
gorhill 1ba7894a29 ability to prevent local ip address leak thru webrtc 2015-06-24 20:01:27 -04:00
gorhill c596e6c0e1 this fixes #394 2015-06-23 14:50:45 -04:00
gorhill fb25df9f05 this fixes https://github.com/chrisaljoudi/uBlock/issues/1449 2015-06-18 17:09:24 -04:00
gorhill 647b53beaf this fixes #264 2015-06-18 12:02:57 -04:00
gorhill 04dad27165 this fixes warnings about "Services" being undefined after re-enabling uBlock 2015-06-17 17:56:04 -04:00
gorhill 91f5584e9f minor code review 2015-06-17 14:11:30 -04:00
gorhill c8a48910d3 just renaming using natural resolution 2015-06-17 14:06:59 -04:00
gorhill 34485a0465 code review 2015-06-17 14:06:59 -04:00
AlexVallat 9406e40fdc Imported 620a7d78d1 2015-06-17 14:06:59 -04:00
AlexVallat 909244cdbd Imported d9b23d4f10 2015-06-17 14:06:59 -04:00
AlexVallat c4b0856723 Imported 5ac4ec21e9 2015-06-17 14:06:59 -04:00
gorhill f29f0a0f09 code review 2015-06-15 15:57:12 -04:00
AlexVallat 62849f164d Cherry pick css class differentiation for toolbar button state #1233 2015-06-15 11:39:00 -04:00
gorhill 19d34d2a40 this addresses #334 2015-06-11 09:33:39 -04:00
gorhill a364a869f5 this takes care of https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979 2015-06-06 14:09:59 -04:00
gorhill 81bb75cd5e this will still work if ever we use longer branches 2015-06-05 09:36:24 -04:00
gorhill 48264e1fd7 code review for #292 2015-06-04 16:50:46 -04:00
gorhill 987a8d2b64 this fixes #292 2015-06-04 16:26:57 -04:00
gorhill 13d229eaa1 code review + report more accurately request types in logger 2015-06-04 09:37:53 -04:00
gorhill 013b077656 this fixes #287 2015-06-03 09:01:58 -04:00
gorhill 8a73a093d9 this fix #282 2015-06-02 18:12:28 -04:00
gorhill 228104a2b0 firefox: take care of beacon also 2015-06-02 09:45:31 -04:00
gorhill 2cb1f42335 Firefox support for browser settings 2015-06-02 08:59:25 -04:00
gorhill ee8dd54481 added ability to disable hyperlink auditing 2015-06-02 08:26:35 -04:00
gorhill 2ca1ed3b9c this fixes dealing with browser objects with no valid URI 2015-06-01 18:12:33 -04:00
gorhill 14371b5d92 this fixes #274 2015-06-01 15:03:22 -04:00
gorhill f458fa4adf code review 2015-06-01 09:00:10 -04:00
gorhill d724fb23bd this fixes #269 2015-06-01 08:49:41 -04:00
gorhill 10740a28ff this fixes console warning when view-source: 2015-06-01 08:11:25 -04:00
gorhill 6470216530 this should fix #266 + fixes #212 2015-05-31 17:43:19 -04:00
gorhill b084d796b5 to address #266 -- drafty, just curious to see if this helps 2015-05-31 00:35:53 -04:00
gorhill 3f9b704846 SQlite: use double-quotes everywhere, vacuum only once, when idle 2015-05-30 11:36:37 -04:00
gorhill 1e57760fe1 this fixes #262 2015-05-29 19:23:26 -04:00
gorhill 579c4a1d5e this fixes #260 2015-05-29 16:40:59 -04:00
gorhill 885c68495b this fixes overlooked remnants of other ubock 2015-05-29 11:19:10 -04:00
gorhill c73704ba48 code review 2015-05-28 14:49:36 -04:00
gorhill c285ace7d8 hardening sqlite code 2015-05-28 14:49:01 -04:00
gorhill d332298f40 o_O... oops 2015-05-27 17:21:16 -04:00
gorhill 53fc1063f9 reviewer's feedback: SQLite: now using static strings + bound parameters 2015-05-27 15:31: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 facef0dc05 this fixes many addon validation warnings 2015-05-17 13:02:56 -04:00
gorhill 7eac4072de verified working fine on Nightly 2015-05-17 11:39:40 -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 ba8dd756c9 this fixes #185 2015-05-09 01:16:27 -04:00
gorhill f9652b5f57 importing uMatrix unified logger 2015-05-08 18:28:01 -04:00
gorhill 6c80790975 one more step to insure tab context is properly set 2015-04-29 10:29:23 -04:00
gorhill 8004754c29 this fixes #83 2015-04-24 10:55:11 -04:00
gorhill e16dac9c39 this fixes #84 2015-04-19 11:33:04 -04:00
gorhill dbb93ae716 attempt at fixing badge misalignment reported in #55 2015-04-16 23:59:03 -04:00
gorhill b43da1690f manually patching svg file to fix FF icon issues 2015-04-16 10:22:12 -04:00
gorhill e16871b87d "meatier" icon to improve rendering at low-res 2015-04-16 09:07:00 -04:00
gorhill 0025ab9721 this fixes #60 2015-04-15 23:25:30 -04:00
gorhill daa374fce6 fine tuning logo 2015-04-15 10:43:52 -04:00
gorhill f4ee989a1d un-bloat output files 2015-04-15 09:48:05 -04:00
gorhill 79b581749b this fixes #55 2015-04-15 09:40:41 -04:00
gorhill f64263f1b8 yet another redesign, based on @Ricardo1991's idea 2015-04-15 08:32:17 -04:00
gorhill 14ec061bac might as well depart completely from old stuff 2015-04-14 18:52:51 -04:00
gorhill 09aae182b9 update ff icons 2015-04-14 17:16:48 -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 25036eb5cf as per comment in e762a29d30 2015-04-10 09:05:25 -04:00
gorhill 63d9143d6b #10: manually imported fixes from e762a29d30 2015-04-09 21:50:23 -04:00
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 125513164f forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 2015-04-08 06:15:10 -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
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
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 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 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
Chris 1910dfdf02 SVGs 2015-03-23 00:51:17 -05: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
gorhill bb1e131ae7 Merge branch 'master' of github.com:gorhill/uBlock 2015-03-16 07:05:42 -04:00
gorhill 2ba1538e1e this fixes #1031 2015-03-16 07:05:32 -04: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
Deathamns 5ae7687e56 Firefox: different kind of vAPI.localStorage 2015-03-16 08:09:34 +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 f6ccacf550 Firefox,Safari: vAPI.localStorage 2015-03-14 19:53:30 +01:00
gorhill ed88939a63 this fixes #792 2015-03-14 14:12:05 -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 41bf9486e4 Firefox: oops 2015-03-11 20:01:56 -04:00
gorhill e3959c3610 changes re #993 for firefox platform 2015-03-11 19:55:27 -04: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
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
gorhill 8341fb2193 this fixes #967 2015-03-08 11:06:36 -04:00
Deathamns ba37764d46 Firefox: update application versions 2015-03-08 10:48:39 +01: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 31188c6330 Tidying .xul location, update linux script to match windows one 2015-03-03 07:58:35 +00: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
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 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
gorhill 273dcd763f this fixes #730 2015-02-12 09:24:45 -05:00
Chris a17882a8cc Remove previous Safari overhead; cleanup workarounds from rest of code 2015-02-10 14:24:04 -07:00
Deathamns c381183570 Firefox: remove unused arguments 2015-02-05 18:05:41 +01:00
Deathamns 43c8d86769 Firefox: fix extension restarting 2015-02-02 11:52:40 +01: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 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 7f877e64a3 Firefox: add localized descriptions to install.rdf 2015-01-27 12:44:35 +01:00
Deathamns d24263aa17 Firefox: vAPI.tabs.onNavigation() for about: pages 2015-01-27 11:13:33 +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
gorhill 4b2dced6f4 Merge branch 'master' of github.com:gorhill/uBlock into fix-475 2015-01-21 12:25:12 -05:00
Deathamns 631da229f5 Firefox: initialize when hiddenDOMWindow is ready
Probably not the best way to detect its readiness, but it works for now.
This fix should solve the incompatibility with the StartupMaster add-on.
2015-01-21 18:15:55 +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
gorhill 97b5ad9ad5 removed unused code for the time being 2015-01-15 08:41:30 -05: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
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
Deathamns bcc1c0da11 Fix prorblems caused by vAPI.insertHTML 2015-01-13 20:25:10 +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 687d226ce9 Firefox: improvements for content scripts 2015-01-13 07:30:01 +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 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 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
Deathamns fbd2f74eb5 Firefox: implement vAPI.app.restart 2015-01-13 07:29:50 +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 b8c943d539 Make vAPI.setIcon less Chromium specific 2015-01-13 07:29:46 +01:00
Deathamns b301ac031e Popup related changes 2015-01-13 07:29:44 +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 5c2af95c73 Firefox: proper cleanup for context-menu item 2015-01-13 07:29:37 +01:00
Deathamns d4b2b81ae8 Firefox: move callback to last call 2015-01-13 07:29:36 +01:00
Deathamns 1bb074211c Firefox: saved prefs were overwritten by defaults 2015-01-13 07:29:34 +01:00
Deathamns 16a7bcb3d8 Firefox: add missing vAPI.onLoadAllCompleted 2015-01-13 07:29:33 +01:00
Deathamns 8a19f32373 Remove duplicate 'use strict'; 2015-01-13 07:29:30 +01:00