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

458 commits

Author SHA1 Message Date
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
Raymond Hill 8da0dcd84f
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/9 2018-05-15 12:45:32 -04:00
Raymond Hill aba697f2f0
fix https://github.com/uBlockOrigin/uMatrix-issues/issues/8 2018-05-13 19:00:02 -04:00
Raymond Hill 6958c4ed26
fix 1p recipes returned as 3p ones; preserve & show comments 2018-04-20 06:59:45 -04:00
Raymond Hill fe995d2bc8
fix #995, #945; other minor fixes; opportunistic code review 2018-04-14 07:09:23 -04:00
Raymond Hill 98e012599c
code review: attempt to lookup actual tab id of behind-the-scene requests 2018-04-13 16:32:48 -04:00
Raymond Hill 06436c61fc
code review: typos 2018-04-13 11:19:36 -04:00
Raymond Hill 31cc15ca6c
lots of informal fixes
- us integer tab id -- do not stringify anymore
- improved the parsing of hosts files
- better handling of behind-the-scene network requests when a
  context is provided by the webRequest API
- imported webextFlavor code from uBO
- converted instances of object-as-dict to Map()
2018-04-13 10:24:50 -04:00
Raymond Hill 62d06792f1
fix #990 2018-04-08 09:10:11 -04:00
Raymond Hill 9fd6bdfddd
avoid over-reporting of cookies
Limit each distinct cookie to be reported at most
once a second. Sometimes a cookie's value can
be changed many times a second and it's not useful
to report every single instance of these
changes -- this just pollute both the badge
counter and the logger output.
2018-03-26 16:19:36 -04:00
Raymond Hill 9b9d7e586f
fix #967 2018-03-24 17:20:18 -04:00