1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 18:10:39 +12:00
Commit graph

458 commits

Author SHA1 Message Date
Raymond Hill 24289831c2
polish recipe-related code, user interface 2018-03-24 08:01:25 -04:00
Raymond Hill d825b5562e
integrate CodeMirror's MergeView to the 'My rules' pane 2018-03-22 15:56:37 -04:00
Raymond Hill 08a0cdc218
fix #954 2018-03-05 11:46:15 -05:00
Raymond Hill fb4e07f107
fix regression reported at https://www.wilderssecurity.com/threads/umatrix-the-http-switchboard-successor.369601/page-27#post-2737419 2018-02-11 08:46:59 -05:00
Miguel de Moura 2f0f038668 Update hyperlink auditing HTML spec url (#942) 2018-02-04 15:27:43 -05:00
Raymond Hill 51a68683f8
code review: fix error at extension console; allow recipes to override explicit rules 2018-02-04 14:25:08 -05:00
Raymond Hill 860e9185cd
add support for: switch-based rules; entity in source part of condition 2018-02-04 13:38:58 -05:00
Raymond Hill 335709bc50
fix #940 2018-02-04 09:10:17 -05:00
Raymond Hill 55b9f1c645
add contributor mode and tools to contribute ruleset recipes (need more) 2018-02-03 17:31:35 -05:00
Raymond Hill 749e8d5cc4
improve backup file output for rules: array instead of one huge string 2018-02-03 09:46:40 -05:00
Raymond Hill 1a5d7e400d
fix backward compatibility of restore from backup feature 2018-02-03 08:46:34 -05:00
Raymond Hill 01216b9520
code review: also take into account modifications to http headers 2018-02-02 07:51:11 -05:00
Raymond Hill 82ed807bd2
fix #938: show badge by default for new users 2018-02-01 08:26:30 -05:00
Raymond Hill ebfe08e0a2
fix #938 2018-02-01 08:25:23 -05:00
Raymond Hill b963ccb778
code review: simplify PSL selfie generator 2018-02-01 08:22:15 -05:00
Raymond Hill c2a46c5da4
add tooltip for global scope + setting to disable tooltips (see https://github.com/gorhill/uMatrix/issues/936#issuecomment-361936827) 2018-01-31 10:00:33 -05:00
Raymond Hill e9e5aa295c
fix #935 2018-01-30 18:30:26 -05:00
Raymond Hill 2cf4a57bf4
first draft toward fixing #30 2018-01-29 17:19:42 -05:00
Raymond Hill 1867635e0d
code review: fix updating of non-hosts resources 2018-01-26 11:24:19 -05:00
Raymond Hill 6207e35a1e
fix #928 2018-01-24 11:21:22 -05:00
Raymond Hill 6abc89dfd5
fix #924 2018-01-22 13:58:35 -05:00
Raymond Hill a9799b70bc
code review for aafb85c6c62a: use contentType, instanceof document is unreliable on Firefox 2018-01-20 16:37:40 -05:00
Raymond Hill aafb85c6c6
fix https://bugzilla.mozilla.org/show_bug.cgi?id=1392090#c18 2018-01-20 16:16:13 -05:00
Raymond Hill c89a4cfe5e
use worker-src on Firefox 58+ -- turns out this was fixed weeks ago 2018-01-17 09:25:01 -05:00
Raymond Hill 08275aa527
code review: mind inline styles too 2018-01-16 10:44:06 -05:00
Raymond Hill 328f9695d8
add ability to vertically expand a specific row 2018-01-15 12:38:03 -05:00
Raymond Hill 1228ee55d6
add mitigation for #912 2018-01-11 17:11:41 -05:00
Raymond Hill 2aeb7696c3
fix https://github.com/gorhill/uBlock/issues/3416 2018-01-08 07:34:09 -05:00
Raymond Hill f1d0e7a3b1
fix cloud race condition as in 178b82eb6a 2018-01-07 10:20:03 -05:00
Raymond Hill b2e760f40d
fix #904, #436 2018-01-06 18:00:28 -05:00
Raymond Hill cfaed1e490
add ability to open the logger in sidebar 2018-01-04 08:26:21 -05:00
Raymond Hill 171552370a
ensure image placeholders' min width can take effect 2018-01-02 09:36:00 -05:00
Raymond Hill 6df5e5212c
code review following feedback: 821e45751a (commitcomment-26587989) 2018-01-02 08:16:25 -05:00
Raymond Hill 35ddcc80eb
code review: giving more thoughts to reporting CSP violations 2018-01-01 18:55:34 -05:00
Raymond Hill 60cd27c347
code review for 821e45751a2dff18: simplify 2018-01-01 13:53:20 -05:00
Raymond Hill 821e45751a
reliably report web worker and inline script presence 2018-01-01 13:37:19 -05:00
Raymond Hill 6ecea191b4
put back space: turns out it's needed for detection 2017-12-31 19:30:25 -05:00
Raymond Hill 2d14874d69
code review for deeb211c5d 2017-12-31 19:25:50 -05:00
Raymond Hill 1b1d3ad728
add ability to block web workers on a per-site basis 2017-12-31 18:19:48 -05:00
Raymond Hill deeb211c5d
add ability to block web workers on a per-site basis 2017-12-31 18:18:10 -05:00
Raymond Hill 52139a9137
remove localhost allow rule from default ruleset 2017-12-31 11:29:16 -05:00
Raymond Hill 19c32608f3
add visual cue to hint at relevance of per-scope switches 2017-12-21 08:30:05 -05:00
Raymond Hill dba034fd90
address #853 2017-12-20 10:55:05 -05:00
Raymond Hill 36e7c874cd
fix #479 2017-12-18 09:49:15 -05:00
Raymond Hill 3a6f550223
code review: be case-insensitive, "URL=" is also used sometimes 2017-12-16 11:28:04 -05:00
Raymond Hill f459f67e72
fix regression: ability to toggle per-scope switches 2017-12-16 10:45:50 -05:00
Raymond Hill 157045924b
fine tune various UI aspects
- more choices of matrix text size
- more accurate wording for matrix switches
- info links for various matrix switches
2017-12-16 09:28:57 -05:00
Raymond Hill 298dac337c
better defaults for new installation 2017-12-13 12:05:43 -05:00
Raymond Hill b35aa272d5
better translate NoScript whitelist directives into uMatrix rules 2017-12-12 16:47:10 -05:00
Raymond Hill 23cefde335
code review: better importing from RP/NS 2017-12-12 11:04:44 -05:00
xofe 613bab0a9d fix noscript setting not being saved on change (regression from 73c8da05b7) 2017-12-11 18:21:31 +00:00
gorhill 8e073579f6
fix #485 2017-12-11 08:31:09 -05:00
gorhill 05a312f6d0
fix #621 2017-12-10 17:09:35 -05:00
gorhill 8608b29ded
fix ##773 + added logger output for CSP modification 2017-12-09 18:25:32 -05:00
gorhill c4c0d450fd
code review of request headers processing code
- drop needless overhead now that legacy support is dropped
- output extra information about the headers which are
  modified and their value before/after modification
2017-12-09 12:32:41 -05:00
gorhill ff5789d4ac
minor code review 2017-12-09 10:45:37 -05:00
gorhill b7127541a3
finally complete fix for #319 2017-12-08 08:21:26 -05:00
gorhill 73c8da05b7
Fix #335
Additionally, performance improvements:
- Reduce overhead of collapsing elements
  (see https://github.com/gorhill/uBlock/issues/2839)
- Cache decomposition of source hostname when matrix-filtering

Also, various code review.
2017-12-08 07:54:49 -05:00
gorhill 8615f3b804
help with #872: reduce occurrences of "no tab found" cases 2017-12-06 10:11:17 -05:00
gorhill fa2658cd2b
import message handling code from uBO, simplify for uMatrix 2017-12-06 09:47:20 -05:00
gorhill cadd9c751d
code review for #319: ensure valid URL 2017-12-06 06:29:21 -05:00
gorhill e278a7d4e3
further address #853 2017-12-05 16:10:28 -05:00
gorhill a90e5cc7b4
finalize fix to #319 -- redirect if meta/refresh found in noscript tags 2017-12-05 16:09:30 -05:00
gorhill 3ff2926871
fix #840 (need confirmation) 2017-12-04 16:48:59 -05:00
gorhill 9e2dd8108c
code review: further simplifying; jshint-ing 2017-12-03 14:56:08 -05:00
gorhill 4b32e8b4d3
code review: fix spurious change in last commit 2017-12-03 11:54:27 -05:00
gorhill ebac131247
code review: simplify code for counting distinct URLs 2017-12-03 11:40:27 -05:00
gorhill 3f8168ce0b
fix #502 2017-12-02 11:46:13 -05:00
gorhill a4ad3a4ea9
put back ability for "owner" of popup panel to resize it (regression from 878d4fa6d5) 2017-12-02 08:48:23 -05:00
gorhill 0207c91312
enable ability to detach the logger (same as uBO) 2017-12-01 18:44:05 -05:00
gorhill 6aa8c856cf
code review: no need for try-catch, a dummy localStorage is created if none exists 2017-12-01 17:17:25 -05:00
gorhill 03120f8dd9
code review: avoid using innerHTML 2017-12-01 17:16:29 -05:00
gorhill fa95f964de
code review: simplify needlessly complicated logger buffering code 2017-12-01 17:15:55 -05:00
gorhill 43df802cff
fix #232 2017-12-01 12:34:29 -05:00
gorhill 9d43f929bc
Revive formerly removed <noscript> tag spoofing code
Also:
- a new per-scope switch has been added to control <noscript> spoofing on
  a per site basis
- a global setting to be used as the default state of the <noscript>
  spoofing switch
- Privacy pane has been merged into Setting pane
2017-12-01 11:53:40 -05:00
gorhill 357b44c265
[corrected commit message] code review of ad9d591b1666: remove more obsolete code 2017-12-01 08:49:42 -05:00
gorhill ad9d591b16
Fix #118, #271, #649, #771: removing flawed-at-the-core UA spoofer
The end result of the flawed UA spoofer was to accomplish the
OPPOSITE of the intended goal. UA spoofing for privacy purpose
turns out to be a whole complicated task on its own, and is
best undertaken as a separate dedicated extension -- assuming
it is possible at all.

In any case, this had no place in a "Privacy" section in uMatrix,
this was a bad idea to create this feature in the first place. It's
never too late to correct a bad idea, and this is the purpose of
this commit.
2017-12-01 08:17:30 -05:00
gorhill 040812d813
code review of 28d2f0b66e 2017-11-30 09:31:14 -05:00
gorhill 28d2f0b66e
fix #852 2017-11-29 14:40:18 -05:00
gorhill 65d62ec379
code review of e9968713e4 2017-11-28 16:06:59 -05:00
gorhill e9968713e4
work toward resolving #853 2017-11-28 13:19:57 -05:00
gorhill 537f8ef79a
work toward resolving #853 2017-11-28 12:33:22 -05:00
gorhill f2bb21f129
properly set global scope visual when default scope is global 2017-11-26 10:19:47 -05:00
PenguinDad 284b26abf4
Fix color-blind friendly mode 2017-11-25 00:55:48 +00:00
gorhill 1825b65d4c various visual fixes 2017-11-24 17:22:42 -05:00
gorhill 396f4fc78e avoid CPU-costly Date.toLocale(Date|Time)String() in logger page
source:
* 02a79ea9fc
* 235d1266e8
* 3b41237e4b
2017-11-24 08:35:43 +00:00
xofe e6a0379e54 add bottom border to logger toolbar (prevents toolbar blending in to log entries while scrolling) 2017-11-24 08:09:56 +00:00
gorhill 6ca45c66b8 hopefully improve UI for mobile devices (#828) 2017-11-23 12:14:29 -05:00
Raymond Hill 3f07dd4094
Merge pull request #800 from Pulsera/master
Commented out unused code
2017-11-23 07:46:40 -05:00
gorhill 878d4fa6d5 fix small popup panel glitch when first opened + minor cosmetic changes 2017-11-22 07:07:34 -05:00
gorhill 364d2985db minor code review 2017-11-21 11:57:41 -05:00
gorhill b1f53a6d09 fix #821 2017-11-21 10:36:08 -05:00
gorhill e8136cb667 fix https://discourse.mozilla.org/t/support-umatrix/5131/158 2017-11-19 21:07:15 -05:00
gorhill 6460e5893c minor code review 2017-11-19 18:47:35 -05:00
gorhill 76639f528a fix #819 2017-11-19 18:18:02 -05:00
gorhill a15f1fa92e fix #789 2017-11-14 17:13:11 -05:00
gorhill 97957b7bc3 fix #807: merging was supported after all 2017-11-13 18:05:14 -05:00
gorhill f2d7d32d1e remove unused legacy code from HTTPSB 2017-11-10 10:56:55 -05:00
gorhill acf318d83c fix AMO validation errors: innerHTML is forbidden 2017-10-05 12:49:26 -04:00
gorhill 9eda7bf59c import fix from f1036395f7 2017-10-05 08:49:08 -04:00