1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-05-20 04:03:13 +12:00
Commit graph

663 commits

Author SHA1 Message Date
Raymond Hill 9b9d7e586f
fix #967 2018-03-24 17:20:18 -04:00
Raymond Hill d2a0de861b
import translation work from https://crowdin.com/project/umatrix 2018-03-24 08:03:39 -04:00
Raymond Hill 24289831c2
polish recipe-related code, user interface 2018-03-24 08:01:25 -04:00
Raymond Hill 707fd92307
remove unused strings 2018-03-24 06:50:10 -04:00
Raymond Hill d825b5562e
integrate CodeMirror's MergeView to the 'My rules' pane 2018-03-22 15:56:37 -04:00
Raymond Hill 747748c9ba
remove unused code 2018-03-21 16:44:20 -04:00
Raymond Hill a52ea23121
import translation work from https://crowdin.com/project/umatrix 2018-03-18 10:29:34 -04:00
Raymond Hill 08a0cdc218
fix #954 2018-03-05 11:46:15 -05:00
Raymond Hill 45ed6a7e25
import translation work from https://crowdin.com/project/umatrix 2018-02-11 08:49:06 -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
Raymond Hill 429af12aa2
import translation work from https://crowdin.com/project/umatrix 2018-02-05 07:56:07 -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 21c9480965
import translation work from https://crowdin.com/project/umatrix 2018-02-04 09:14:30 -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 a88a301d81
import translation work from https://crowdin.com/project/umatrix 2018-02-03 09:52:23 -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 931a44ee9d
import translation work from https://crowdin.com/project/umatrix 2018-02-02 08:28:55 -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 d0a41e09d0
remove more trailing periods as per https://github.com/gorhill/uMatrix/issues/30#issuecomment-361923994 2018-01-31 08:05:16 -05:00
Raymond Hill c90ce95f59
import translation work from https://crowdin.com/project/umatrix 2018-01-30 19:03:52 -05:00
Raymond Hill 081dbf8541
add space after newline: Firefox does not render newlines for placeholders 2018-01-30 18:47:19 -05:00
Raymond Hill e9e5aa295c
fix #935 2018-01-30 18:30:26 -05:00
Raymond Hill b8c4eadc7a
remove spurious trailing periods (https://github.com/gorhill/uMatrix/issues/30#issuecomment-361635820) 2018-01-30 11:03:12 -05:00
Raymond Hill 4ea5334275
import translation work from https://crowdin.com/project/umatrix 2018-01-30 08:55:15 -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 eeb890000b
import translation work from https://crowdin.com/project/umatrix 2018-01-18 12:30:57 -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 7dac50008a
remove unecessary padding 2018-01-13 13:01:16 -05:00
Raymond Hill c3957d3979
import translation work from https://crowdin.com/project/umatrix 2018-01-13 12:12:17 -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 d766209ab5
import translation work from https://crowdin.com/project/umatrix 2018-01-07 09:38:52 -05:00
Raymond Hill b2e760f40d
fix #904, #436 2018-01-06 18:00:28 -05:00
Raymond Hill 6e273545a4
import translation work from https://crowdin.com/project/umatrix 2018-01-04 09:09:48 -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 b870757e94
use non-locale-specific URI 2018-01-01 08:30:09 -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 aef92a21ef
import translation work from https://crowdin.com/project/umatrix 2017-12-31 11:27:45 -05:00
Raymond Hill 2b02690b93
code review: fix size of toggle button background 2017-12-21 09:18:41 -05:00
Raymond Hill af94a80c59
fix html entities 2017-12-21 08:32:05 -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 2c262d1198
import translation work from https://crowdin.com/project/umatrix 2017-12-18 10:27:44 -05:00
Raymond Hill 9d1b89a0c1
fine tune rendering of slider 2017-12-18 10:25:16 -05:00
Raymond Hill 36e7c874cd
fix #479 2017-12-18 09:49:15 -05:00
Raymond Hill 748891a094
import translation work from https://crowdin.com/project/umatrix 2017-12-17 20:06:30 -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 6581071b01
prevent hostname labels from wrapping 2017-12-16 10:27:46 -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 fc24d902ad
import translation work from https://crowdin.com/project/umatrix 2017-12-13 14:07:52 -05:00
Raymond Hill 298dac337c
better defaults for new installation 2017-12-13 12:05:43 -05:00
Raymond Hill c82fab635c
import translation work from https://crowdin.com/project/umatrix 2017-12-12 17:41:34 -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
Raymond Hill 3b77c0732e
import translation work from https://crowdin.com/project/umatrix 2017-12-11 09:42:50 -05: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 e30f189a19
import translation work from https://crowdin.com/project/umatrix 2017-12-09 12:38:58 -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 038b047116
import translation work from https://crowdin.com/project/umatrix 2017-12-08 08:03:43 -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 a5a69c2fdf
code review: mind rtl languages 2017-12-06 06:30:34 -05:00
gorhill cadd9c751d
code review for #319: ensure valid URL 2017-12-06 06:29:21 -05:00
gorhill 91db7e4a84
import translation work from https://crowdin.com/project/umatrix 2017-12-05 16:18:44 -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 25128992b1
important translation work from https://crowdin.com/project/umatrix 2017-12-04 11:10:59 -05:00
gorhill 23047bc23c
import translation work from https://crowdin.com/project/umatrix 2017-12-03 15:18:25 -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 67e7c8a5bf
import translation work from https://crowdin.com/project/umatrix 2017-12-03 07:34:01 -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 d048ba15cb
import translation work from https://crowdin.com/project/umatrix 2017-12-02 08:43:27 -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 db30e572db
import translation work from https://crowdin.com/project/umatrix 2017-12-01 11:58:25 -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 c095b722fc
import translation work from https://crowdin.com/project/umatrix 2017-11-30 11:49:12 -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 c090fa175e
import translation work from https://crowdin.com/project/umatrix 2017-11-28 12:41:54 -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
gorhill 9d6d27ae21
import translation work from https://crowdin.com/project/umatrix 2017-11-26 06:28:02 -05:00
gorhill 2ddde65a57 import translation work from https://crowdin.com/project/umatrix 2017-11-25 16:51:55 -05:00
gorhill 706fa4fca4 import translation work from https://crowdin.com/project/umatrix 2017-11-25 08:02:56 -05:00
gorhill d9cd957f4d highlight on hove only if it would result in a scope change 2017-11-25 07:46:54 -05:00
Raymond Hill 6e729c517d
Merge pull request #841 from shub-nougat/scopes-hover
Scopes hover
2017-11-24 20:16:02 -05:00
PenguinDad 284b26abf4
Fix color-blind friendly mode 2017-11-25 00:55:48 +00:00
shub-nougat 113cd638f5 highlight global scope for consistency 2017-11-24 23:38:52 +00:00
shub-nougat 3755655239 highlight scopes which are subject to toggle 2017-11-24 23:37:32 +00:00
gorhill 2f2fea617b import translation work from https://crowdin.com/project/umatrix 2017-11-24 17:23:18 -05:00
gorhill 1825b65d4c various visual fixes 2017-11-24 17:22:42 -05:00
gorhill 0a43c6fedd fix minor rendering issue in popup panel on small viewports 2017-11-24 14:19:55 -05:00
gorhill 170a665d4a important translation work from https://crowdin.com/project/umatrix 2017-11-24 11:18:24 -05:00
Raymond Hill 11a47c189c
Merge pull request #838 from xofe/remove-unused-resources
Remove some unused resources (holdovers from HTTPSB)
2017-11-24 06:55:50 -05:00
gorhill 068ffe6c9a trashcan instead of X to remove an imported list 2017-11-24 09:39:44 +00:00
xofe cacdb07a6e add favicon to dashboard/logger (fix #627) + add i18n for logger title 2017-11-24 09:03:19 +00: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 9adc29318e add missing tooltip for dashboard link (fix #837) 2017-11-24 08:18:30 +00:00
xofe d4c0c1747b fade-in tooltips, like uBO 2017-11-24 08:14:15 +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
xofe 5a070388ae remove some unused resources (holdovers from HTTPSB) 2017-11-23 18:44:46 +00:00
gorhill 6ca45c66b8 hopefully improve UI for mobile devices (#828) 2017-11-23 12:14:29 -05:00
gorhill 06d7612bf5 Merge branch 'master' of https://github.com/gorhill/uMatrix 2017-11-23 08:21:18 -05:00
gorhill ca9229e40c import translation work from https://crowdin.com/project/umatrix 2017-11-23 08:21:09 -05:00
Raymond Hill f2a20688c6
Merge pull request #804 from Neui/native-textarea
Use native textarea when editing user rules
2017-11-23 07:49:14 -05:00
Raymond Hill 3f07dd4094
Merge pull request #800 from Pulsera/master
Commented out unused code
2017-11-23 07:46:40 -05:00