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

663 commits

Author SHA1 Message Date
Raymond Hill 1603b33b27
Fix infinite recursion with maliciously crafted URL
Related issue:
- https://github.com/vtriolet/writings/blob/main/posts/2021/ublock_origin_and_umatrix_denial_of_service.adoc
2021-07-19 11:56:15 -04:00
Raymond Hill 0bcb7669e7
Fix exception thrown when a stock asset is removed
Related feedback:
- https://www.reddit.com/r/uMatrix/comments/ftebgz/
2020-04-02 10:39:31 -04:00
Raymond Hill 57eb9fc150
Expect that IntersectionObserver API may not be available
Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/235

The popup-resize functionality won't be available if the
IntersectionObserver API is not available. The purpose
of the popup-resize code is to adjust the matrix visuals
on small display -- i.e. on mobile or when the popup panel
is used in the overflow menu in Firefox.
2020-03-08 11:12:47 -04:00
Raymond Hill 2d8e32c61b
Minor style changes 2020-02-24 16:18:57 -05:00
Raymond Hill 41133dffd2
Fix remnants of uBO code in cache storage manager
Related feedback:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/227#issuecomment-590543891
2020-02-24 16:16:06 -05:00
Raymond Hill e3ebfdfba4
Fix improper initial value for suspendTabsUntilReady 2020-02-02 08:49:24 -05:00
Raymond Hill b75500eff4
Import translation work from https://crowdin.com/project/umatrix 2020-01-03 08:46:53 -05:00
Raymond Hill 3f4425d9db
Fix broken handling of blocked document parameters
Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/214

Regression from:
- https://github.com/gorhill/uMatrix/commit/9b292304d33a#diff-67a98e071667dfff264d50da29bb3a5cL38-R39
2020-01-03 08:39:39 -05:00
Raymond Hill c908ae5210
Import translation work from https://crowdin.com/project/umatrix 2019-12-31 09:45:08 -05:00
Raymond Hill ea688f3942
Fix network error message in logger
Related feedback:
- https://github.com/gorhill/uMatrix/issues/945#issuecomment-569792402

Regression from:
- https://github.com/gorhill/uMatrix/commit/9b292304d33a
2019-12-31 09:35:19 -05:00
Raymond Hill 5c06fed370
Make 1st and 3rd columns in logger clickable
These columns are unlikely to be used for text
selection, so there is no harm to make them
clickable.
2019-12-25 13:10:26 -05:00
Raymond Hill b8e62f0c55
Import translation work from https://crowdin.com/project/umatrix 2019-12-25 08:50:55 -05:00
Raymond Hill 0190fdaf3d
Add back missing tab context properties
These properties, used to detect/act on/report
unencrypted connection, were erroneously removed
when importing uBO's code en-bloc.

Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/212
2019-12-25 08:44:42 -05:00
Raymond Hill e5cf0d4684
Import translation work from https://crowdin.com/project/umatrix 2019-12-24 11:53:28 -05:00
Raymond Hill a9f32a475f
Fix broken content scripts in Firefox
Related commit:
- https://github.com/gorhill/uMatrix/commit/9b292304d33a

Forgot to declare `/js/vapi.js` as first content script
to inject.
2019-12-24 11:48:04 -05:00
Raymond Hill a9bcc70a2b
Minor code review of WASM-loading code 2019-12-23 09:07:42 -05:00
Raymond Hill 2936d73911
Fix odds and ends from mega commit 9b292304d3
Related commit:
- https://github.com/gorhill/uMatrix/commit/9b292304d33a
2019-12-22 11:03:14 -05:00
Raymond Hill df4a403473
Make use of css flex in matrix UI 2019-12-22 08:51:08 -05:00
Raymond Hill d993b8442a
Import translation work from https://crowdin.com/project/umatrix 2019-12-22 08:49:06 -05:00
Raymond Hill 9b292304d3
Bring uMatrix up to date
Notably:
- Import logger improvements from uBO
- Import CNAME uncloaking from uBO
- Import more improvements from uBO
- Make use of modern JS features

This should un-stall further development of uMatrix.
2019-12-20 12:24:18 -05:00
Raymond Hill 5156e23a09
Import translation work from https://crowdin.com/project/umatrix 2019-09-05 09:21:02 -04:00
Raymond Hill 93b28cdd84
Silently ignore invalid tab id 2019-09-05 09:16:45 -04:00
Raymond Hill 3da449b8a4
Import translation work from https://crowdin.com/project/umatrix 2019-06-05 08:20:59 -04:00
Raymond Hill c3919da2c2
Add more cases for documentUrl to be safely used as root context
Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/155
2019-05-28 11:09:11 -04:00
Raymond Hill d6471b3556
Fix https://github.com/uBlockOrigin/uMatrix-issues/issues/159 2019-05-24 13:08:27 -04:00
Raymond Hill 6e9f23c940
Import translation work from https://crowdin.com/project/umatrix 2019-05-21 11:28:19 -04:00
Raymond Hill 901c325eab
Use documentUrl for context purpose when available
Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/155

documentUrl was currently used on onBeforeRequest but not
for onBeforeSendHeaders.
2019-05-20 12:07:02 -04:00
Raymond Hill ab303d3c17
Fix the logger's rendering of hostnames starting with digits
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/541
2019-04-23 09:51:44 -04:00
Raymond Hill 1f1429c47a Import translation work from https://crowdin.com/project/umatrix 2019-04-08 12:33:02 -03:00
Ryan Hendrickson 3f2916ed05 More unused code cleaning (#1009)
* remove many unused functions

* remove XAL abstraction
2019-04-07 15:12:46 -03:00
xofe 26aedcc5f9 show placeholder for blocked frame elements (fix https://github.com/uBlockOrigin/uMatrix-issues/issues/120) (#1010) 2019-04-07 10:27:55 -03:00
Raymond Hill 054935d025
Fix https://github.com/uBlockOrigin/uMatrix-issues/issues/98 2019-02-02 10:13:25 -05:00
Raymond Hill fb94c85df1
Add ability to block early at launch; adapt to changes in Chromium 72+
Related issues:

- "Requests bypass uMatrix on Firefox start"
  <https://github.com/uBlockOrigin/uMatrix-issues/issues/69>

  Using same approach as with uBO:
  https://github.com/gorhill/uBloc/commit/41548be6be35

  `suspendTabsUntilReady` advanced setting added to "More" pane,
  useful only for Chromium -- the blocking of early network
  requests is enforced unconditionally on Firefox (because it
  supports returning Promises from webRequest handlers).

- "Cookies leaking temporarily"
  <https://github.com/uBlockOrigin/uMatrix-issues/issues/74>

  Changes in the webRequest API in Chromium 72+ caused uMatrix
  to fail to process `Cookie` and `Referer` headers on that
  platform.
2019-01-01 08:34:00 -05:00
Ryan Hendrickson 4d7109bf99 Cleaning (#1007)
* remove unused field distinctRequestCount

* remove mostly unused RequestStats

* write to pageStore.pageUrl, not pageStore.normalURL

* remove unused cookie code

* remove unused field off
2018-12-31 14:24:15 -05:00
Raymond Hill 130db1f351
Mind CR-terminated lines in recipe parser
Related issue:
- https://github.com/uBlockOrigin/uMatrix-issues/issues/97
2018-12-31 14:21:09 -05:00
xofe 2045397084 Minor fixes (#1005)
* correct cloud-download/upload icon CSS selectors

* fix scope tooltip in logger appearing offscreen

* open logger/dashboard links adjacent to current tab (match uBO's behaviour)

* opera: fix manifest version not being updated

Version code copied from tools/make-chromium-meta.py

* fix https://www.reddit.com/r/uBlockOrigin/comments/9gwrna/when_you_right_click_and_go_to_options_it_keeps/

source:
* 6dd6dc5f1d

* remove unused "processReferer" setting

It was changed to a matrix switch in 5d8bae3da2

* remove unused source code

source:
* f516cd3d26
* 0503f52b1e

* remove bold version of Roboto font (unused from HTTPSB)

* correct FontAwesome license after change from v5 back to v4.7

License copied from bb737e29d5

* fix build scripts after c0f4abfd00
2018-12-30 07:52:52 -05:00
Raymond Hill 94fdd3b587
Import translation work from https://crowdin.com/project/umatrix 2018-12-27 10:50:26 -05:00
Raymond Hill acfb1a6310
Import translation work from https://crowdin.com/project/umatrix 2018-12-26 09:59:14 -05:00
Raymond Hill de56cfe351
Revert to Fontawesome 4.7 icons
Found out Fonteawesome 5 is a different project than
former Fontawesome (of which 4.7 is latest).

See https://github.com/uBlockOrigin/uBlock-issues/issues/249#issuecomment-448587658
2018-12-26 09:54:13 -05:00
Raymond Hill 5ed6a9703c re-phrase as suggested on https://crowdin.com/project/umatrix 2018-10-26 10:03:12 -03:00
Raymond Hill f94f0010b6 import translation work from https://crowdin.com/project/umatrix 2018-10-16 11:02:37 -03:00
Raymond Hill 9a6b1c2c9c address remaining quirks (see https://github.com/uBlockOrigin/uMatrix-issues/issues/62#issuecomment-428594617) 2018-10-16 10:58:04 -03:00
Raymond Hill 0f7c82a2d9
fix obsolete comment 2018-10-09 20:18:11 -04:00
Raymond Hill 68e8d96b57
import translation work from https://crowdin.com/project/umatrix 2018-10-09 19:45:53 -04:00
Raymond Hill 494cd9e95c
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/72 2018-10-09 19:43:02 -04:00
Raymond Hill 60da12b0ef
import translation work from https://crowdin.com/project/umatrix 2018-10-08 07:53:04 -04:00
Raymond Hill 6dcc90c639
fix tooltip quirk in popup panel; add visual hint in logger for tab-less requests 2018-10-07 11:16:25 -04:00
Raymond Hill 5b1287d2de
use separate CSS file for styles 2018-10-06 10:54:13 -04:00
Raymond Hill 886664abd4
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/59 and other unrelated quirks
Unrelated quirks:

- missing icons for magnifier (because https://github.com/uBlockOrigin/uMatrix-issues/issues/68)
- missing i18n string
- use separate file for CSS styles
2018-10-06 10:51:34 -04:00
Raymond Hill 495dddc389
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/70 2018-10-06 09:04:37 -04:00