1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 02:42:41 +01:00
Commit Graph

554 Commits

Author SHA1 Message Date
dhowe
77da1aabb3 Check responseHeaders length before calling pop() (#1739)
This throws an error on Firefox when responseHeaders is 0-length
2016-06-20 09:28:40 -04:00
gorhill
8c632db436 quite likely fix https://trac.torproject.org/projects/tor/ticket/19438 2016-06-19 18:53:03 -04:00
gorhill
848e716b08 bump compatible version for SeaMonkey 2016-06-19 12:31:18 -04:00
gorhill
fa1dafafbe fix #1716 2016-06-16 10:56:49 -04:00
gorhill
758c8afdc7 fix #1702 2016-06-12 10:51:42 -04:00
gorhill
f902c53be7 remove stray prototype code from last commit (84b81f751c) 2016-06-10 13:28:04 -04:00
gorhill
84b81f751c code review re. https://github.com/gorhill/uMatrix/issues/554: use channel data when available 2016-06-10 13:21:58 -04:00
gorhill
76c44e9672 code review re. https://github.com/gorhill/uMatrix/issues/554
No longer need to evaluate within asyncOnChannelRedirect() since
all is now evaluated at `http-on-modify-request` time.
2016-06-06 09:51:39 -04:00
gorhill
e177e04f90 fix https://github.com/gorhill/uMatrix/issues/554 2016-06-03 09:32:05 -04:00
gorhill
d34d47032d this fixes #1573 2016-04-21 14:34:20 -04:00
gorhill
baed91e111 #1514: code review 2016-04-01 20:53:38 -04:00
gorhill
cf47bdc4c8 this tentatively fixes #1514 2016-03-29 11:37:19 -04:00
gorhill
0547c0dd18 code review re. #1443 2016-03-09 17:13:22 -05:00
gorhill
9772e95046 this fixes #1459 2016-03-09 09:54:16 -05:00
gorhill
eb8c17d55c this takes care of #1443 2016-03-08 16:35:06 -05:00
gorhill
e5c2eff2d0 code review to fix "javascript.options.strict" warnings in browser console of Firefox 2016-03-07 09:55:04 -05:00
gorhill
7884cf70f6 code review: this is needed to keep closure alive 2016-03-06 21:27:28 -05:00
gorhill
040a3ea5ef code review: spin off init-only code from frameScript into its own init-time frame script 2016-03-06 19:49:27 -05:00
gorhill
ee23f96bb3 this fixes #1444 2016-03-05 14:04:36 -05:00
gorhill
912f330afb updated max FF versions 2016-03-03 10:37:35 -05:00
gorhill
0bebc81369 code review + fixes another potential error in browser console (re. popup blocking) 2016-02-10 11:25:52 -05:00
gorhill
f8de57dd1a this takes care of errors in browser console while testing popup blocking 2016-02-10 11:15:57 -05:00
gorhill
f81b07fb4d code review 2016-01-29 11:43:12 -05:00
gorhill
a89d3ebe18 this fixes #1312 2016-01-29 10:50:03 -05:00
gorhill
5f3b5365d1 #1305: forgot to add link to issue in code 2016-01-27 11:03:30 -05:00
gorhill
f39d87f6e0 this fixes #1305 2016-01-27 11:02:08 -05:00
gorhill
5a9f3fa6fe new path for location of Console.jsm 2016-01-26 17:57:53 -05:00
gorhill
1f345b585f this should fix #1276 2016-01-22 11:13:29 -05:00
gorhill
bb27f33b35 this fixes #1257: toolbar button missing for new uBO install w/ Seamonkey 2.39 2016-01-19 13:30:28 -05:00
gorhill
d584be832b this addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1203159 2016-01-19 09:28:39 -05:00
gorhill
89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill
5591ff34f1 this fixes #1201 2016-01-11 00:37:57 -05:00
gorhill
0b0b88684a this fixes #838 2016-01-05 10:08:28 -05:00
gorhill
ee2a657f84 AMO review feedback: remove unecessary files from package 2015-12-26 15:53:56 -05:00
gorhill
0f6e5be1d2 removed spurious comma 2015-12-15 21:43:21 -05:00
gorhill
c27dea49da keep file naming consistent 2015-12-15 14:36:27 -05:00
gorhill
074c6a948c empty file because FF has all that stuff since at least v24 2015-12-15 14:25:54 -05:00
gorhill
ea49484dd3 this fixes #1067 + partially fixes #1070 2015-12-15 10:40:40 -05:00
gorhill
cfbefd096d bumping max versions for Firefox, Firefox for Android 2015-12-14 19:36:39 -05:00
gorhill
08085f7383 code review 2015-12-11 19:18:14 -05:00
gorhill
1e0014116b this fixes #1004 2015-12-09 13:29:22 -05:00
gorhill
9ce6f9eb23 code review: adding the option buttons at launch time is not critical, this can be deferred 2015-12-09 13:23:16 -05:00
gorhill
2af72459fe minor code review: move vars closer to their 1st use + reference links 2015-12-06 16:43:58 -05:00
gorhill
7ada31a545 this addresses Cu.import throwing as reported in #1004 2015-12-04 12:05:02 -05:00
gorhill
665ac59c73 #1004: this addresses win potentially being null at shutdown time (Pale Moon) 2015-12-04 11:35:31 -05:00
gorhill
756887a6cf code review re. lagacy toolbar button 2015-12-03 12:07:46 -05:00
gorhill
a2f79952a2 code review 2015-12-03 01:16:28 -05:00
gorhill
2750b13e34 code review 2015-12-03 01:08:37 -05:00
gorhill
f2f653945e can throw when trying to access associatedWindow 2015-12-02 01:13:56 -05:00
gorhill
2705432f43 code review 2015-12-02 00:59:51 -05:00
gorhill
11351bca6d this fixes regression re. popup/popunder blocking for Seamonkey 2015-12-01 17:15:31 -05:00
gorhill
4fd71d4209 this adds popunder filtering support for Firefox-based browsers 2015-12-01 15:07:22 -05:00
gorhill
be7db835a8 this fixes sticky popup when legacy toolbar button + multiple windows 2015-11-28 10:28:48 -05:00
gorhill
c4034d804a this fixes #966 2015-11-24 12:11:03 -05:00
gorhill
139cbc5069 this fixes #959 2015-11-23 07:48:15 -05:00
gorhill
7fcb0176fc #955: merging 1.3.6 changes 2015-11-21 10:53:43 -05:00
gorhill
cb1a176e21 this hopefully fixes #955 2015-11-21 08:06:14 -05:00
gorhill
77504cb561 this fixes #951 2015-11-20 08:47:29 -05:00
gorhill
8110b9ae6f #948: undo first attempt at fix 2015-11-20 00:43:02 -05:00
gorhill
5a63dc3184 Merge branch 'temp' 2015-11-20 00:16:16 -05:00
gorhill
c4e3e1e8e5 reportedly this fixes #948 2015-11-19 20:19:15 -05:00
gorhill
0f7dc32a5e this fixes #948 2015-11-19 18:51:55 -05:00
gorhill
4e9d41a150 #948: this possibly addresses the 1st reported error case 2015-11-19 18:07:27 -05:00
gorhill
b9475507c8 this fixes #940 2015-11-16 15:12:26 -05:00
gorhill
4cebefd5b5 code review 2015-11-15 08:56:36 -05:00
gorhill
7b81b82e4b reversing fix to #868: does not work with latest FF/Nightly 2015-11-13 11:53:39 -05:00
gorhill
3d472beb1b code review: make onHeadersReceive() able to cancel responses 2015-11-09 17:59:19 -05:00
gorhill
2e2e76ebff compatible with Seemonkey 2.39 2015-11-09 08:37:32 -05:00
gorhill
e487f0f500 code review 2015-11-08 09:55:29 -05:00
gorhill
2518a3d17c #906: comment to document fix 2015-11-08 01:02:39 -05:00
gorhill
1c6d969ccb this fixes #906 2015-11-08 00:31:49 -05:00
gorhill
35474f0146 minor changes 2015-11-06 14:18:40 -05:00
gorhill
18a95a922c this fixes #894 2015-11-06 10:17:32 -05:00
gorhill
0949cc6ac7 oops, forgot to remove console.log 2015-11-06 00:36:11 -05:00
gorhill
770875608d let's see if this fixes #906 2015-11-06 00:32:45 -05:00
gorhill
c5c8edc4d1 #868: code review 2015-11-05 09:20:40 -05:00
gorhill
45335855af #749: code review 2015-11-03 18:00:08 -05:00
gorhill
6bec4d795c hopefully this fixes #749 2015-11-03 16:40:22 -05:00
gorhill
a44aa105da works fine on latest Nightly 2015-10-28 16:02:49 -04:00
gorhill
523f9f479d Merge branch 'next' 2015-10-28 09:36:23 -04:00
gorhill
99c4dfffc2 this fixes #876 2015-10-28 09:35:13 -04:00
gorhill
e44d42c96e #868: minor code review 2015-10-27 10:37:02 -04:00
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