Commit Graph

675 Commits (master)

Author SHA1 Message Date
gorhill b7127541a3
finally complete fix for #319 7 years ago
gorhill 038b047116
import translation work from https://crowdin.com/project/umatrix 7 years ago
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.
7 years ago
gorhill 8615f3b804
help with #872: reduce occurrences of "no tab found" cases 7 years ago
gorhill fa2658cd2b
import message handling code from uBO, simplify for uMatrix 7 years ago
gorhill a5a69c2fdf
code review: mind rtl languages 7 years ago
gorhill cadd9c751d
code review for #319: ensure valid URL 7 years ago
gorhill 91db7e4a84
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill e278a7d4e3
further address #853 7 years ago
gorhill a90e5cc7b4
finalize fix to #319 -- redirect if meta/refresh found in noscript tags 7 years ago
gorhill 3ff2926871
fix #840 (need confirmation) 7 years ago
gorhill 25128992b1
important translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 23047bc23c
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 9e2dd8108c
code review: further simplifying; jshint-ing 7 years ago
gorhill 4b32e8b4d3
code review: fix spurious change in last commit 7 years ago
gorhill ebac131247
code review: simplify code for counting distinct URLs 7 years ago
gorhill 67e7c8a5bf
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 3f8168ce0b
fix #502 7 years ago
gorhill a4ad3a4ea9
put back ability for "owner" of popup panel to resize it (regression from 878d4fa6d5) 7 years ago
gorhill d048ba15cb
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 0207c91312
enable ability to detach the logger (same as uBO) 7 years ago
gorhill 6aa8c856cf
code review: no need for try-catch, a dummy localStorage is created if none exists 7 years ago
gorhill 03120f8dd9
code review: avoid using innerHTML 7 years ago
gorhill fa95f964de
code review: simplify needlessly complicated logger buffering code 7 years ago
gorhill 43df802cff
fix #232 7 years ago
gorhill db30e572db
import translation work from https://crowdin.com/project/umatrix 7 years ago
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
7 years ago
gorhill 357b44c265
[corrected commit message] code review of ad9d591b1666: remove more obsolete code 7 years ago
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.
7 years ago
gorhill c095b722fc
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 040812d813
code review of 28d2f0b66e 7 years ago
gorhill 28d2f0b66e
fix #852 7 years ago
gorhill 65d62ec379
code review of e9968713e4 7 years ago
gorhill e9968713e4
work toward resolving #853 7 years ago
gorhill c090fa175e
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 537f8ef79a
work toward resolving #853 7 years ago
gorhill f2bb21f129
properly set global scope visual when default scope is global 7 years ago
gorhill 9d6d27ae21
import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 2ddde65a57 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 706fa4fca4 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill d9cd957f4d highlight on hove only if it would result in a scope change 7 years ago
Raymond Hill 6e729c517d
Merge pull request #841 from shub-nougat/scopes-hover
Scopes hover
7 years ago
PenguinDad 284b26abf4
Fix color-blind friendly mode 7 years ago
shub-nougat 113cd638f5 highlight global scope for consistency 7 years ago
shub-nougat 3755655239 highlight scopes which are subject to toggle 7 years ago
gorhill 2f2fea617b import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 1825b65d4c various visual fixes 7 years ago
gorhill 0a43c6fedd fix minor rendering issue in popup panel on small viewports 7 years ago
gorhill 170a665d4a important translation work from https://crowdin.com/project/umatrix 7 years ago
Raymond Hill 11a47c189c
Merge pull request #838 from xofe/remove-unused-resources
Remove some unused resources (holdovers from HTTPSB)
7 years ago
gorhill 068ffe6c9a trashcan instead of X to remove an imported list 7 years ago
xofe cacdb07a6e add favicon to dashboard/logger (fix #627) + add i18n for logger title 7 years ago
gorhill 396f4fc78e avoid CPU-costly Date.toLocale(Date|Time)String() in logger page
source:
* 02a79ea9fc
* 235d1266e8
* 3b41237e4b
7 years ago
xofe 9adc29318e add missing tooltip for dashboard link (fix #837) 7 years ago
xofe d4c0c1747b fade-in tooltips, like uBO 7 years ago
xofe e6a0379e54 add bottom border to logger toolbar (prevents toolbar blending in to log entries while scrolling) 7 years ago
xofe 5a070388ae remove some unused resources (holdovers from HTTPSB) 7 years ago
gorhill 6ca45c66b8 hopefully improve UI for mobile devices (#828) 7 years ago
gorhill 06d7612bf5 Merge branch 'master' of https://github.com/gorhill/uMatrix 7 years ago
gorhill ca9229e40c import translation work from https://crowdin.com/project/umatrix 7 years ago
Raymond Hill f2a20688c6
Merge pull request #804 from Neui/native-textarea
Use native textarea when editing user rules
7 years ago
Raymond Hill 3f07dd4094
Merge pull request #800 from Pulsera/master
Commented out unused code
7 years ago
Raymond Hill f8a4630095
Merge pull request #805 from StoyanDimitrov/patch-1
Remove unused l10n string
7 years ago
gorhill ef7b831a82 fix minor glitch causing header row to be under the interactive permission setter 7 years ago
gorhill 083cf4bf46 fix CSS regression: https://github.com/gorhill/uMatrix/issues/821#issuecomment-346461071 7 years ago
gorhill 8deb398675 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 878d4fa6d5 fix small popup panel glitch when first opened + minor cosmetic changes 7 years ago
gorhill d0a91d5f50 import translation work from https://github.com/gorhill/uMatrix 7 years ago
gorhill 364d2985db minor code review 7 years ago
gorhill d7cb45c237 maybe make uMatrix usable on a mobile device 7 years ago
gorhill dd1cb33626 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill b1f53a6d09 fix #821 7 years ago
gorhill cdffe16b98 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill e8136cb667 fix https://discourse.mozilla.org/t/support-umatrix/5131/158 7 years ago
gorhill 6460e5893c minor code review 7 years ago
gorhill 48eb207fa5 import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 76639f528a fix #819 7 years ago
gorhill a15f1fa92e fix #789 7 years ago
gorhill e23276b83a add Esperanto; fix Serbian import 7 years ago
gorhill 2692e866dd import translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 97957b7bc3 fix #807: merging was supported after all 7 years ago
gorhill ffc44db085 fix #807: cloud-merging not supported 7 years ago
gorhill f2d7d32d1e remove unused legacy code from HTTPSB 7 years ago
StoyanDimitrov 6de0f2b9b9 Remove unused l10n string 7 years ago
Neui 9672465292 Use native textarea when editing user rules
Use native textarea (no color set) when editing temporary user rules.
Improves visibility significantly when eg. using Firefox with a dark GTK theme.
7 years ago
gorhill 893b885b5a AMO validation errors: do not rely on innerHTML 7 years ago
gorhill acf318d83c fix AMO validation errors: innerHTML is forbidden 7 years ago
gorhill 9eda7bf59c import fix from f1036395f7 7 years ago
gorhill 406f6473b6 use indexedDB to cache assets: https://bugzilla.mozilla.org/show_bug.cgi?id=1371255#c11 7 years ago
gorhill 5ea59ab7c4 address https://github.com/WaldiPL/webpageScanner/issues/8 7 years ago
gorhill be2ab1bdca translation work from https://crowdin.com/project/umatrix 7 years ago
Pulsera 6da5e5e5b2 Commented unused code 7 years ago
gorhill c74174a3c4 fix https://discourse.mozilla-community.org/t/support-umatrix/5131/40 7 years ago
gorhill cb482d3651 translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 4765db4d86 code review: simplify CSP injection code 7 years ago
gorhill 27dea59284 fix #759 7 years ago
gorhill da8cc90ab4 fix visual glitch in recent versions of Chromium 7 years ago
gorhill 754e8213cf code review 6781a98f 7 years ago
gorhill 6781a98fd6 "fix" #771 7 years ago
gorhill 57022a410f translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 7b0cb1b729 remove unused i18n strings 7 years ago
gorhill 35e9417e8f translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill e8bcc4ca9f fix #752 7 years ago
gorhill 6e8ebd8253 fix #727 7 years ago
gorhill 8835aceb35 translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill ce97268895 fix #747 7 years ago
gorhill 97509f6d03 hybrid webextension for seamless migration from legacy 7 years ago
gorhill 585802510a report raw type in logger instead of normalized type 7 years ago
gorhill c2d7096500 refactor assets management; working webextension version 7 years ago
gorhill da992312f3 fix #711 (will need confirmations) 7 years ago
gorhill 4b8345bb94 translation work from https://crowdin.com/project/umatrix 7 years ago
gorhill 48d9a0fd26 fix #711 7 years ago
gorhill 8828c4d5cb proper labelling of column 7 years ago
gorhill a4fb878b08 fix https://github.com/gorhill/uBlock/issues/2084 for uMatrix 8 years ago
gorhill 09004e0d1e translation work from https://crowdin.com/project/umatrix 8 years ago
gorhill 4ccb9bd0d4 fix uncaught exception 8 years ago
gorhill e68d9bd76e Merge branch 'master' of https://github.com/gorhill/uMatrix 8 years ago
gorhill e451e70fe0 fix #648 8 years ago
Alexey Petrenko 3b5b572f36 Fixed broken link 8 years ago
gorhill 70910fd2aa Merge branch 'master' of https://github.com/gorhill/uMatrix 8 years ago
gorhill af5afd12f2 translation work from https://crowdin.com/project/umatrix 8 years ago
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'`
8 years ago
gorhill 3c539f0ec8 fix #604 8 years ago
gorhill fdc9c38f1a Merge branch 'master' of https://github.com/gorhill/uMatrix 8 years ago
gorhill e21f87a5f6 fix #591 8 years ago
Llamatron2112 e6bebd4775 Added black default color for popup buttons
On Linux Firefox with dark GTK theme, the three rightmost toolbar icons of the popup can be light gray, or even white some time, this fixes this issue.
8 years ago
gorhill 83b342d4e4 fix #597 + code review + merge media and image 8 years ago
Coffeemakr 12ebb136ba In addition to text files allow json files for import 8 years ago
gorhill 09cf683e1a fix #429 8 years ago
gorhill 93f963bc6c this fixes #538 8 years ago
gorhill 8f7f184837 this fixes #513 8 years ago
gorhill 2bbf72d9ab forgot to import zh-TW from https://crowdin.com/project/umatrix 8 years ago
gorhill c0821da875 brought up to date with uBO's version 8 years ago
gorhill 65924d1be8 this fixes #489 8 years ago
gorhill 17cc720dc1 this addresses #506 8 years ago
gorhill 44c1ddd00a translation work from https://crowdin.com/project/umatrix 8 years ago
gorhill e9e1f7e631 this fixes #489 8 years ago
gorhill 4f63e079bc reverting fix to #441: undesirable side effects on Firefox 8 years ago
WyohKnott c9f7cc1855 Adding visual cue indicating that a temp rule will be deleted if clicked
When clicking a temporary rule that is not in the permanent list, it is
deleted, yet no visual cue indicates this is the intended behaviour. I
initially thought it would commit the line to the permanent rules.

This patch adds a line-through on :hover to signal it.
8 years ago
gorhill fbe58341e4 translation work from https://crowdin.com/project/umatrix 8 years ago
gorhill 87e85fa0da code review: this fix broken pruning code for `domainCache` 8 years ago
gorhill 8200c07a7f Merge tag '0.9.3.2' 8 years ago
gorhill 1d08de94fd translation work from https://crowdin.com/project/umatrix 8 years ago
gorhill fc1662e742 Issue #441: code review
(fixed issue number in commit comment)
9 years ago
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.
9 years ago
Rick van Hattem 9b1dda2c45 fixed chrome os x issue with too small popup size (fixes #423) 9 years ago
gorhill f4dd0254aa translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 6eaa85eee1 this should fix #357, #395 9 years ago
gorhill 8c6b94e213 this addresses #358 for the time being 9 years ago
gorhill 158eb0f45e translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 3eedfd6fbb translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 6fdbf9dd94 this addresses #122 9 years ago
gorhill 7d4e569bd6 see if this helps #362 9 years ago
gorhill 3c1419ad3b this addresses https://github.com/gorhill/uBlock/issues/724 9 years ago
gorhill 16f986860e translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill c03d38a5c6 this fixes #349 9 years ago
gorhill e18782672d this fixes #345 9 years ago
gorhill e25d748aa4 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill f3876463d3 imported cloud storage support from uBlock: user rules supported for now 9 years ago
gorhill 9e4e4943f3 this fixes many strictness warning in browser console 9 years ago
gorhill 7bc684f2b8 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 2224ece1a5 this fixes #320 9 years ago
David Manouchehri 471c314bed Added warning about User Agent leaking. 9 years ago
gorhill cfbce5297a translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 98c51dbff4 #301: resize only if necessary 9 years ago
gorhill a914c01ea9 popup resize: code review 9 years ago
gorhill 479b454307 Hopefully this fixes #301 9 years ago
gorhill 77b0dd8233 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 6c24fe8e2a this fixes scope button height in matrix popup + matrix popup from logger 9 years ago
gorhill c8765697e1 bring in uBlock's changes to uDom 9 years ago
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
9 years ago
gorhill 3591ca42f6 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 3d3673f163 this fixes #283 9 years ago
gorhill 07ba0a0a4b this fixes #270 9 years ago
gorhill a7329ef71d support importing uBlock ruleset syntax 9 years ago
gorhill a1f8e9599e translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill fd4a7579f1 re-worked popup UI to access dashboard from title bar (like uBlock) 9 years ago
gorhill ef68842b80 this fixes #232 + AMO feedback re. using innerHTML 9 years ago
gorhill 5997dec5d1 this brings logger's filter exp. parser improvements from uBlock 9 years ago
gorhill a2e5fd671e support external stock hosts files 9 years ago
gorhill 32333a440a translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill b20d44e36c this should fix #225 9 years ago
gorhill f81933fb59 this fixes 23aa1e79cb (commitcomment-11318549) 9 years ago
gorhill 0d6c28642c translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 23aa1e79cb remove overhead of tab selector update when no change 9 years ago
gorhill 8063ea1e67 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill e927581336 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 33708938da this fixes #212 9 years ago
gorhill 855833c978 code review 9 years ago
gorhill 779c9a6c36 this fixes #211 9 years ago
gorhill cbc0337110 code review re. new tab selector 9 years ago
gorhill d7b6be4567 logger: filter entries by tab 9 years ago
gorhill 262661347b translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 05d8c51580 this fixes #205 9 years ago
gorhill 0d92dd7e5b default to block if no rule at all 9 years ago
gorhill d03434cc43 more bools 9 years ago
gorhill 6369d37567 must return bool, not undefined 9 years ago
gorhill 446b5a0a81 minor css 9 years ago
gorhill 02760abbf0 translation work from Crowdin 9 years ago
gorhill 20bd54c56b allow some local settings to be modified by users 9 years ago
gorhill f3c5815848 interim version number for dev build 9 years ago
gorhill aea695bf8b code review 9 years ago
gorhill 568ad296a3 this should fix #194 9 years ago
gorhill ae701d9aff this fixes #191: loggin every ua-str rotation is overkill 9 years ago
gorhill 6f4257bb2a this fixes #189 9 years ago
gorhill 73ed896a85 this fixes browser history quirk on Chromium 9 years ago
gorhill 535a46db37 this fixes warning/error entries in browser console 9 years ago
gorhill 2f075c71e2 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 438a7dca0a minor code review 9 years ago
gorhill 83cc6053eb more minor details fixed 9 years ago
gorhill 4ba4d55e6b fixing small details 9 years ago
gorhill 4d4837924c translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill b65fd71012 minor css edit 9 years ago
gorhill 9d245c0510 logger: "bts" keyword to filter behind-the-scene events 9 years ago
gorhill 7dcfdf9e08 improved cookie emphasis in logger 9 years ago
gorhill c8f162d0bb punycode scope selector 9 years ago
gorhill 8aaadb8fc0 toward a release: general code review, polishing, removing obsolete stuff 9 years ago
gorhill 257334b4c2 importing rp rules 9 years ago
gorhill 3d3160efdf minor code review 9 years ago
gorhill 9afbbae8cf minor css tweaks 9 years ago
gorhill 9a40eb17a0 fixed i18n mistake 9 years ago
gorhill 3384a7614a do not count own inline script 9 years ago
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 9 years ago
gorhill 57de4fdf14 code review 9 years ago
gorhill 1cc471bd39 reset minimized state 9 years ago
gorhill 5155b87ca9 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 486183cbe6 this fixes popup matrix position/resize issues 9 years ago
gorhill 04f160efba this addresses #171 9 years ago
gorhill 186c649984 thsi fixes #170 9 years ago
gorhill 654821f101 translation work from https://crowdin.com/project/umatrix 9 years ago
gorhill 52540c1a9a various fixes 9 years ago
gorhill 05089dc370 preparing for i18n + better defaults 9 years ago
gorhill a313e4653d use textContent, not innerText 9 years ago
gorhill 8f2b473928 filtering in logger + various small fixes 9 years ago
gorhill 4142551c13 fixed controls broken by incremental rendering 9 years ago
gorhill f8c38177e2 this fixes sticky dirty state 9 years ago
gorhill 0211bcec64 regression: fixed broken polling 9 years ago
gorhill e025afe8ea allow cleaning up voided rows 9 years ago
gorhill 7c8a8cdf64 better incremental rendering of the matrix 9 years ago
gorhill af57d6d9e7 one pulling if needed is better than always pushing to many + polishing logger 9 years ago
gorhill 1d8243583c more work on matrix popup integration within logger 9 years ago
gorhill 1901b9c6e8 allow access to toolbar controls 9 years ago
gorhill 6f786635f4 extremely early draft of matrix integration within the logger 9 years ago
gorhill b518ab5573 minor fixes 9 years ago
gorhill 89a2610ab1 various fixes 9 years ago
gorhill 13c03d802d oops 9 years ago
gorhill 4a86eb0525 https://xkcd.com/1296/ 9 years ago
gorhill c18db8cc7f a few css fixes 9 years ago
gorhill a49340b57a firefox: cookie and browser cache management 9 years ago
gorhill 4ad7c65362 various fixes 9 years ago