Commit Graph

27 Commits (master)

Author SHA1 Message Date
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.
5 years ago
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.
5 years ago
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()
6 years ago
gorhill 3ff2926871
fix #840 (need confirmation) 7 years ago
gorhill acf318d83c fix AMO validation errors: innerHTML is forbidden 7 years ago
gorhill 2fa62e12a1 fix https://github.com/gorhill/uBlock/issues/3057 7 years ago
gorhill 37ce825dc1 fix https://github.com/gorhill/uBlock/issues/2824 7 years ago
gorhill b07972c526 minor code review 7 years ago
gorhill d361ee33fc fix https://github.com/gorhill/uBlock/issues/2499 7 years ago
gorhill 85255cf195 fix https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10 7 years ago
gorhill c2d7096500 refactor assets management; working webextension version 7 years ago
gorhill a914c01ea9 popup resize: code review 9 years ago
gorhill 479b454307 Hopefully this fixes #301 9 years ago
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 9 years ago
gorhill 19ddf588fb i18n work 9 years ago
gorhill ed67045360 first pass 9 years ago
gorhill a5d051de3f this fixes #792 9 years ago
Deathamns 7ef116e85b Remove unnecessary fallback code for downloading 9 years ago
Chris 33ffb83f23 Fix vAPI.download across all platforms 9 years ago
gorhill daede90cc7 this helps #993 9 years ago
gorhill 72a3819c08 #685: code review 9 years ago
Deathamns 32ad9420de Chrome: bypass options_ui 9 years ago
Deathamns 86cae37cb6 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
9 years ago
Deathamns d789ffa442 Popup related changes 9 years ago
Deathamns 1807c74580 Add license headers, plus some code styling 9 years ago
Raymond Hill 4c12408b1e jshint 9 years ago
Raymond Hill 09123d6971 use "platform" as suggested in #360 9 years ago