Commit graph

471 commits

Author SHA1 Message Date
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