1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 03:05:22 +02:00
Commit Graph

555 Commits

Author SHA1 Message Date
gorhill
b21e765f5c minor code review 2017-01-09 09:16:37 -05:00
gorhill
3b0d3e3330 code review: saner way to find a popup's opener tab id 2017-01-08 17:52:38 -05:00
gorhill
a303c7800e fix #2290 2017-01-08 14:36:08 -05:00
gorhill
4e747fd39e minor code review 2017-01-07 10:58:25 -05:00
gorhill
1a92fff641 fix https://github.com/uBlockOrigin/uAssets/issues/255 2017-01-02 10:50:03 -05:00
gorhill
e09b702470 fix #2274 (hopefully) 2016-12-28 23:39:15 -05:00
gorhill
2f01fcda54 fix #2256 2016-12-21 11:44:03 -05:00
gorhill
94637ee4ff fix https://github.com/nikrolls/uBlock-Edge/issues/30 2016-12-15 10:47:32 -05:00
gorhill
4a4de32bba fix #2226 2016-12-07 23:59:10 -05:00
gorhill
73c8a96c48 workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1317173 2016-11-16 16:08:03 -05:00
Sean Whitton
8f39f88366 drop Conkeror from install.rdf (#2131)
Since #1356 has been declined.
2016-11-06 18:00:36 -05:00
gorhill
f2cb4cefc4 fix #2126 2016-11-04 12:59:06 -04:00
gorhill
8c3da95d65 fix #2067 (experimental) + support for hidden settings 2016-11-03 11:20:47 -04:00
gorhill
3628de7a9d necessary changes for https://github.com/nikrolls/uBlock-Edge/pull/22 2016-10-28 08:40:38 -04:00
gorhill
cbefeb923c fix #1884 2016-10-14 10:06:34 -04:00
gorhill
cd81f866b9 code review: benefit from ES6 Set() in content script
fall back on legacy browser-specific polyfill code if required.
2016-10-09 11:09:25 -04:00
gorhill
a1fa4d0fe9 fix #2060 2016-10-08 15:14:24 -04:00
gorhill
c084853d9a fix #1772: ability to preview procedural cosmetic filters 2016-10-01 12:34:25 -04:00
gorhill
d721b83e21 code review #2014: gracefully deal with importing from a pre-1.9.12 module 2016-09-28 08:43:40 -04:00
gorhill
56176c8eb7 fix #2030: brain fart bug 2016-09-26 00:07:29 -04:00
gorhill
69a76109c8 code review re 029bc946ad
- fix error message when disabling extension
- properly cleanup when disabling extension
2016-09-25 16:02:11 -04:00
gorhill
029bc946ad oops, forgot to git add this for #2014 2016-09-24 15:28:33 -04:00
gorhill
95ec573141 fix #2014 2016-09-24 14:36:08 -04:00
gorhill
a7fe367eec refactor where appropriate to make use of ES6 Set/Map (#1070)
At the same time, the following issues were fixed:
- #1954: automatically lookup site-specific scriptlets
- https://github.com/uBlockOrigin/uAssets/issues/23
2016-09-12 10:22:25 -04:00
gorhill
aa20b6185d typo in comments 2016-09-12 08:14:09 -04:00
gorhill
921bdfeba7 minor changes: header stuff 2016-09-10 08:29:18 -04:00
gorhill
2c925ff5ee fix https://github.com/uBlockOrigin/uAssets/issues/123#issuecomment-244033330 2016-09-01 08:29:24 -04:00
gorhill
33234fdd8b fix #1952 2016-08-31 17:50:49 -04:00
buttercookie42
3ea58979d5 Support back button navigation on Android (#1917)
When opening a new tab in Fennec, we should pass the ID of the current tab as parentId, so that pressing the back button afterwards closes the new tab and returns to the original tab instead of just closing Firefox.
2016-08-20 07:52:16 -04:00
gorhill
07d15ae817 minor code review 2016-08-16 08:42:12 -04:00
gorhill
2725479709 better fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1232354, as pointed out in comments 2016-08-15 22:50:24 -04:00
gorhill
fb7bd0cc1d fix #1893 2016-08-13 21:45:01 -04:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
315dadb466 bump compatible thunderbird version 2016-08-12 11:30:50 -04:00
gorhill
6fd0bb4291 more refactoring of content script: better modularization of various components 2016-08-12 08:55:35 -04:00
asamuzaK (Kazz)
9700c32bc9 Optimize SVG icons (#1860)
* Omit XML declaration:
* XML version is 1.0
* encoding is UTF-8
* standalone is no
so it can be omitted.
* Remove unnecessary attributes:
* `xmlns:rdf`, `xmlns:cc`, `xmlns:dc`, `xmlns:xlink` are not used in
these SVG icons.
* No text inside SVG, so `xml:space` is unnecessary.
* `version` attribute will be removed in SVG 2. [Changes from SVG 1.1 —
SVG 2](https://svgwg.org/svg2-draft/changes.html#structure)
* `x` and `y` can be omitted if they are `0`.
* Remove `enable-background` attribute / style property:
* Firefox / Safari does not support `enable-background`.
* It is proposed to be deprecated in SVG 2. [Filter Effects Module Level
1](https://drafts.fxtf.org/filters/#AccessBackgroundImage)
* Remove empty `g` elements.
* Add `width` and `height` attributes in `safari-icon16-off.svg`:
* They are in safari-icon16.svg, simple missing?
2016-08-07 08:26:04 -04:00
gorhill
ffc3bd10f6 fix regression on Pale Moon from 5704a90cf0 2016-08-06 15:27:33 -04:00
gorhill
16acbca1fa minor code review re. https://bugzilla.mozilla.org/show_bug.cgi?id=1232354 2016-08-06 10:20:11 -04:00
gorhill
5704a90cf0 improve performance issue reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1232354 2016-08-05 22:43:10 -04:00
YFdyh000
cdabab7da5 restore network.dns.disablePrefetch when uncheck option (#1822) 2016-07-18 06:06:42 -04:00
gorhill
d7ff5a523e fix https://github.com/gorhill/uMatrix/issues/586 2016-07-13 09:21:36 -04:00
gorhill
068860ef74 remove reference to obsolete filter lists page 2016-07-09 21:37:16 -04:00
gorhill
02e6b088ef further refactoring + performance: skip surveying DOM after too many empty resultset 2016-07-09 19:21:46 -04:00
gorhill
a3f6a4186a instrumenting content scripts to make for easy profiling when needed 2016-06-30 16:10:38 -04:00
gorhill
8aebf060b8 code review: return asap when in shouldLoadPopupListener 2016-06-30 15:47:51 -04:00
gorhill
09d35b65e0 minor code review re. #1768 2016-06-29 13:56:10 -04:00
gorhill
ca785bf8b1 fix #1768: second part -- this removes a corrupted SQL file
So that a new one can be created.
2016-06-29 13:49:38 -04:00
gorhill
2973726da8 fix uBO misbehaving when corrupted SQL file is corrupted (1st step of the complete fix) 2016-06-29 12:07:25 -04:00
gorhill
6c513629bf refactor content script code + add support for new :has & :xpath filters
Aside extending cosmetic filtering abilities, I expect this will
also take care of some long standing issues (I will have to find them
and mark them as "resolved" by this commit, as time allow).
2016-06-27 19:09:04 -04:00
gorhill
ee16ae728a fix https://github.com/gorhill/uMatrix/issues/540 2016-06-24 15:09:56 -04:00
gorhill
eb5421d686 minor code review (HTTP observer) 2016-06-21 08:04:31 -04:00
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