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
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
gorhill 5ea59ab7c4 address https://github.com/WaldiPL/webpageScanner/issues/8 2017-08-27 14:52:45 -04:00
Pulsera 6da5e5e5b2 Commented unused code 2017-07-20 09:32:30 -04:00
gorhill c74174a3c4 fix https://discourse.mozilla-community.org/t/support-umatrix/5131/40 2017-06-21 12:56:23 -04:00
gorhill 4765db4d86 code review: simplify CSP injection code 2017-04-27 10:38:22 -04:00
gorhill 27dea59284 fix #759 2017-04-27 08:10:54 -04:00
gorhill da8cc90ab4 fix visual glitch in recent versions of Chromium 2017-04-27 07:38:26 -04:00
gorhill 754e8213cf code review 6781a98f 2017-04-27 00:02:08 -04:00
gorhill 6781a98fd6 "fix" #771 2017-04-26 16:06:34 -04:00
gorhill e8bcc4ca9f fix #752 2017-04-02 15:35:40 -04:00
gorhill 6e8ebd8253 fix #727 2017-04-01 16:46:27 -04:00
gorhill ce97268895 fix #747 2017-04-01 10:06:23 -04:00
gorhill 97509f6d03 hybrid webextension for seamless migration from legacy 2017-03-29 13:46:19 -04:00
gorhill 585802510a report raw type in logger instead of normalized type 2017-03-29 10:06:08 -04:00
gorhill c2d7096500 refactor assets management; working webextension version 2017-03-29 09:12:12 -04:00
gorhill da992312f3 fix #711 (will need confirmations) 2017-03-20 17:01:19 -04:00
gorhill 48d9a0fd26 fix #711 2017-03-15 16:30:48 -04:00
gorhill a4fb878b08 fix https://github.com/gorhill/uBlock/issues/2084 for uMatrix 2016-12-04 10:30:55 -05:00
gorhill 4ccb9bd0d4 fix uncaught exception 2016-11-15 10:05:05 -05:00
gorhill e68d9bd76e Merge branch 'master' of https://github.com/gorhill/uMatrix 2016-10-22 10:41:34 -04:00
gorhill e451e70fe0 fix #648 2016-10-22 10:41:08 -04:00
Alexey Petrenko 3b5b572f36 Fixed broken link 2016-10-04 11:40:06 +05:00
Mathias Rangel Wulff 978c145180 Correct check for undefined variable
The code was comparing the result of `typeof` with a variable named `undefined`

As typeof returns a string it should compare to `'undefined'`
2016-09-12 10:23:31 +02:00
gorhill 3c539f0ec8 fix #604 2016-08-11 19:21:51 -04:00
gorhill e21f87a5f6 fix #591 2016-08-11 09:18:15 -04:00
gorhill 83b342d4e4 fix #597 + code review + merge media and image 2016-07-30 09:58:13 -04:00
Coffeemakr 12ebb136ba In addition to text files allow json files for import 2016-06-14 15:06:07 +02:00
gorhill 09cf683e1a fix #429 2016-06-05 09:11:34 -04:00
gorhill 93f963bc6c this fixes #538 2016-03-31 08:57:54 -04:00
gorhill 8f7f184837 this fixes #513 2016-03-02 16:41:51 -05:00
gorhill c0821da875 brought up to date with uBO's version 2016-02-29 09:31:22 -05:00
gorhill 65924d1be8 this fixes #489 2016-02-28 16:15:23 -05:00
gorhill e9e1f7e631 this fixes #489 2016-02-27 21:02:08 -05:00
gorhill 4f63e079bc reverting fix to #441: undesirable side effects on Firefox 2016-02-27 17:50:30 -05:00
gorhill 87e85fa0da code review: this fix broken pruning code for domainCache 2016-01-25 10:20:50 -05:00
gorhill fc1662e742 Issue #441: code review
(fixed issue number in commit comment)
2015-12-19 15:52:29 -05:00
Kenny MacDermid 9170fc4b96 Allow horizontal scrolling.
Provide a horizontal scrollbar when required, and scroll the
menu header correctly while keeping it fixed vertically.

This allows Chromium users with a `Page zoom` setting to be able to see
the whole matrix.

Closes #440.
2015-12-18 17:56:03 -04:00
gorhill 6eaa85eee1 this should fix #357, #395 2015-11-15 17:33:05 -05:00
gorhill 8c6b94e213 this addresses #358 for the time being 2015-11-01 09:09:06 -05:00
gorhill 6fdbf9dd94 this addresses #122 2015-09-26 11:51:06 -04:00
gorhill 3c1419ad3b this addresses https://github.com/gorhill/uBlock/issues/724 2015-09-26 11:10:10 -04:00
gorhill c03d38a5c6 this fixes #349 2015-09-09 00:31:28 -04:00
gorhill e18782672d this fixes #345 2015-09-08 10:49:41 -04:00
gorhill f3876463d3 imported cloud storage support from uBlock: user rules supported for now 2015-09-05 12:29:28 -04:00
gorhill 9e4e4943f3 this fixes many strictness warning in browser console 2015-08-27 14:29:35 -04:00
gorhill 2224ece1a5 this fixes #320 2015-08-13 11:15:28 -04:00
gorhill 98c51dbff4 #301: resize only if necessary 2015-07-28 15:00:31 -04:00
gorhill a914c01ea9 popup resize: code review 2015-07-24 08:22:54 -04:00
gorhill 479b454307 Hopefully this fixes #301 2015-07-23 16:24:07 -04:00
gorhill 6c24fe8e2a this fixes scope button height in matrix popup + matrix popup from logger 2015-07-21 21:14:55 -04:00
gorhill c8765697e1 bring in uBlock's changes to uDom 2015-07-21 08:29:15 -04:00
John Keeping 20e294884a Add trailing newline to exported rules file
According to POSIX a text file is "a file that contains characters
organized into zero or more lines" [1] and a line is "a sequence of zero
or more non- <newline> characters plus a terminating <newline>
character" [2].  Since we are claiming to produce a text file, it should
have a trailing newline.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_397
[2] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
2015-07-08 16:24:06 +01:00
gorhill 3d3673f163 this fixes #283 2015-07-05 08:21:10 -04:00
gorhill 07ba0a0a4b this fixes #270 2015-06-18 08:27:44 -04:00
gorhill a7329ef71d support importing uBlock ruleset syntax 2015-06-05 09:19:15 -04:00
gorhill fd4a7579f1 re-worked popup UI to access dashboard from title bar (like uBlock) 2015-06-04 08:26:28 -04:00
gorhill ef68842b80 this fixes #232 + AMO feedback re. using innerHTML 2015-05-31 18:11:00 -04:00
gorhill 5997dec5d1 this brings logger's filter exp. parser improvements from uBlock 2015-05-30 17:44:21 -04:00
gorhill a2e5fd671e support external stock hosts files 2015-05-30 17:33:35 -04:00
gorhill b20d44e36c this should fix #225 2015-05-27 07:51:48 -04:00
gorhill f81933fb59 this fixes 23aa1e79cb (commitcomment-11318549) 2015-05-21 20:11:54 -04:00
gorhill 23aa1e79cb remove overhead of tab selector update when no change 2015-05-18 07:32:25 -04:00
gorhill 33708938da this fixes #212 2015-05-17 15:11:57 -04:00
gorhill 855833c978 code review 2015-05-17 15:00:37 -04:00
gorhill 779c9a6c36 this fixes #211 2015-05-17 14:56:53 -04:00
gorhill cbc0337110 code review re. new tab selector 2015-05-16 13:17:46 -04:00
gorhill d7b6be4567 logger: filter entries by tab 2015-05-15 23:05:37 -04:00
gorhill 05d8c51580 this fixes #205 2015-05-14 21:04:49 -04:00
gorhill 0d92dd7e5b default to block if no rule at all 2015-05-14 13:28:58 -04:00
gorhill d03434cc43 more bools 2015-05-13 19:14:00 -04:00
gorhill 6369d37567 must return bool, not undefined 2015-05-13 19:11:44 -04:00
gorhill 20bd54c56b allow some local settings to be modified by users 2015-05-13 15:32:45 -04:00
gorhill f3c5815848 interim version number for dev build 2015-05-13 14:53:29 -04:00
gorhill aea695bf8b code review 2015-05-13 14:32:16 -04:00
gorhill 568ad296a3 this should fix #194 2015-05-12 19:50:48 -04:00
gorhill ae701d9aff this fixes #191: loggin every ua-str rotation is overkill 2015-05-12 19:47:33 -04:00
gorhill 6f4257bb2a this fixes #189 2015-05-12 18:29:51 -04:00
gorhill 73ed896a85 this fixes browser history quirk on Chromium 2015-05-12 08:22:05 -04:00
gorhill 535a46db37 this fixes warning/error entries in browser console 2015-05-12 08:04:13 -04:00
gorhill 438a7dca0a minor code review 2015-05-12 06:36:30 -04:00
gorhill 83cc6053eb more minor details fixed 2015-05-11 16:48:29 -04:00
gorhill 4ba4d55e6b fixing small details 2015-05-11 15:44:11 -04:00
gorhill 9d245c0510 logger: "bts" keyword to filter behind-the-scene events 2015-05-11 13:16:50 -04:00
gorhill 7dcfdf9e08 improved cookie emphasis in logger 2015-05-11 12:49:03 -04:00
gorhill c8f162d0bb punycode scope selector 2015-05-11 11:53:02 -04:00
gorhill 8aaadb8fc0 toward a release: general code review, polishing, removing obsolete stuff 2015-05-11 10:55:06 -04:00
gorhill 257334b4c2 importing rp rules 2015-05-10 18:22:52 -04:00
gorhill 3d3160efdf minor code review 2015-05-10 17:59:58 -04:00
gorhill 9a40eb17a0 fixed i18n mistake 2015-05-09 20:16:57 -04:00
gorhill 3384a7614a do not count own inline script 2015-05-09 19:34:45 -04:00
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 2015-05-09 19:18:16 -04:00
gorhill 57de4fdf14 code review 2015-05-09 17:14:22 -04:00
gorhill 1cc471bd39 reset minimized state 2015-05-09 12:48:57 -04:00
gorhill 486183cbe6 this fixes popup matrix position/resize issues 2015-05-09 12:07:20 -04:00
gorhill 04f160efba this addresses #171 2015-05-09 07:44:56 -04:00
gorhill 186c649984 thsi fixes #170 2015-05-08 09:02:12 -04:00
gorhill 52540c1a9a various fixes 2015-05-08 07:43:23 -04:00
gorhill 05089dc370 preparing for i18n + better defaults 2015-05-07 18:38:29 -04:00
gorhill a313e4653d use textContent, not innerText 2015-05-07 11:53:07 -04:00
gorhill 8f2b473928 filtering in logger + various small fixes 2015-05-07 11:39:21 -04:00
gorhill 4142551c13 fixed controls broken by incremental rendering 2015-05-07 00:39:17 -04:00