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

468 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 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 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 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 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 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 93b28cdd84
Silently ignore invalid tab id 2019-09-05 09:16:45 -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 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
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 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 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 494cd9e95c
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/72 2018-10-09 19:43:02 -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
Raymond Hill b822ae72d9
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/68 2018-10-06 08:07:03 -04:00
Raymond Hill 52246a5250
convert popup panel icons (https://github.com/uBlockOrigin/uMatrix-issues/issues/68) 2018-10-03 10:01:41 -04:00
Raymond Hill c6e29be792
bring back popup panel access from logger
Popup panel is now tab selector-bound, rather than logger
entry-bound.

Additonally, start migrating toward svg-based icons rather than
font-based icons.
2018-09-30 17:52:44 -04:00
Raymond Hill fc0bb7a35c
fix reload button (regression from 2256552899) 2018-09-30 05:37:04 -04:00
Raymond Hill 77a7b8febe
code review: fix quirks introduced with 2256552899 2018-09-29 14:16:44 -04:00
Raymond Hill efa0085a67
fix scope selector for "base-domainless" hostnames 2018-09-29 07:54:22 -04:00
Raymond Hill 6b8be2ca43
add partiness column in logger 2018-09-29 07:09:39 -04:00
Raymond Hill 2256552899
fix https://github.com/gorhill/uMatrix/issues/951, https://github.com/uBlockOrigin/uMatrix-issues/issues/62 2018-09-29 06:31:59 -04:00
Raymond Hill 8ed8666e77
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/63 2018-09-25 14:36:54 -04:00
Raymond Hill f075f96c58
fix #589: use DOM-based CSP directive (idea from 6e80d3f130) 2018-09-17 07:38:28 -04:00
Raymond Hill 12a471c3c5
fix regression from fix to https://github.com/uBlockOrigin/uMatrix-issues/issues/53 2018-09-15 10:33:44 -04:00
Raymond Hill bb29ad2c34
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/53 2018-09-14 06:45:35 -04:00
Raymond Hill 3795b99fc5
possible fix for https://www.reddit.com/r/uMatrix/comments/8lc9ia/ 2018-08-25 11:21:28 -04:00
Raymond Hill e6b1648f53
Merge branch 'master' of https://github.com/gorhill/uMatrix 2018-08-22 11:50:56 -04:00
Raymond Hill b53d1be672
fix #992 2018-08-22 11:50:37 -04:00
Saitama d22981dfbe Added vivaldi-scheme (#1004) 2018-08-03 07:50:28 -04:00
Raymond Hill 3f8794dd89
Code review for 18490b9bf8
- Use a time offset to ensure value fit in a int32
- Also, fix potential false positives re. blocked image placeholders
2018-07-06 10:39:38 -04:00
Raymond Hill 18490b9bf8
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/28 2018-07-05 14:38:05 -04:00
Raymond Hill 46669115dc
code review: various fixes
- Ensure REFERER spoofing is always reported in logger
- Fixed possible exception thrown when asynchronously reporting cookies
2018-06-17 08:22:47 -04:00