Commit Graph

436 Commits

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