Commit Graph

10141 Commits

Author SHA1 Message Date
Raymond Hill 232c44eeb2
[mv3] Add scriptlet support; improve reliability of cosmetic filtering
First iteration of adding scriptlet support. As with cosmetic
filtering, scriptlet niijection occurs only on sites for which
uBO Lite was granted extended permissions.

At the moment, only three scriptlets are supported:
- abort-current-script
- json-prune
- set-constant

More will be added in the future.
2022-09-16 15:56:35 -04:00
Raymond Hill bf4cc74d3f
Make Firefox dev build auto-update 2022-09-15 18:50:40 -04:00
gorhill 413a6b0611 Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-15 19:00:22 +00:00
Raymond Hill 405ad47427
New revision for dev build 2022-09-15 14:58:55 -04:00
Raymond Hill e7da3beddd
Fix typo in source code of "Filter lists" pane 2022-09-15 14:57:34 -04:00
Raymond Hill dea2a13bca
Make Firefox dev build auto-update 2022-09-15 13:40:57 -04:00
Raymond Hill 22753b765e
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-09-15 13:37:47 -04:00
Raymond Hill 99e4fa1d4d
Set zip to quiet mode 2022-09-15 13:37:39 -04:00
gorhill 58922ba7fd Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-15 17:34:34 +00:00
Raymond Hill 14bb3b7e54
New revision for dev build 2022-09-15 13:33:03 -04:00
Raymond Hill 34aab95107
[mv3] Add support for specific cosmetic filtering
Specific plain CSS cosmetic filters are now supported.

Cosmetic filtering will occur only after the user explicitly
grant uBO extended permissions for a given site, so that it
can inject CSS on the site.

A new button in the popup panel allows a user to grant/revoke
extended permissions to/from uBO Lite for the current site.

More capabilities will be carefully added for when extended
permissions are granted on a site, so specific cosmetic
filtering through plain CSS is the first implemented capability.

Generic and procedural cosmetic filtering is not implemented.

The current implementation for plain CSS cosmetic filters is
through declarative content injection, which does not require
the service worker to be alive, the browser takes care to
inject the cosmetic filters.

However declarative CSS injection does not support user
styles, so the injected cosmetic filters are "weak". I consider
this is a browser issue, since user styles are supported by
Chromium, there is just no way in the API to specify user
styles for the injected content.

Also:
- Fixed dark theme issues
- Added Steven Black's hosts file

Keep in mind all this is very experimental and implementation
details in this release may (will) greatly change in the future.
2022-09-15 13:14:08 -04:00
Raymond Hill b343cdc374
Import translation work from https://crowdin.com/project/ublock 2022-09-15 12:53:56 -04:00
Raymond Hill 43a20f08a8
Import translation work from https://crowdin.com/project/ublock 2022-09-15 12:19:31 -04:00
Raymond Hill be4537ef44
Use translated strings in manifest 2022-09-14 09:32:59 -04:00
Raymond Hill 76835ebcac
Reword description 2022-09-14 09:31:58 -04:00
Raymond Hill 424797a0b1
Fix/add support URLs for uBO's own lists 2022-09-14 09:29:49 -04:00
Raymond Hill 824b98975c
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-09-13 18:11:34 -04:00
Raymond Hill df5ec34745
Make Firefox dev build auto-update 2022-09-13 18:10:56 -04:00
gorhill 245579e8fa Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-13 22:02:20 +00:00
Raymond Hill 515cb860f9
New revision for dev build 2022-09-13 18:01:15 -04:00
Raymond Hill 6098f96a5d
Import translation work from https://crowdin.com/project/ublock 2022-09-13 18:00:25 -04:00
Raymond Hill 5de156a0ed
Add missing translatable strings 2022-09-13 17:58:48 -04:00
Raymond Hill 3435e9886e
Import translation work from https://crowdin.com/project/ublock 2022-09-13 17:58:12 -04:00
Raymond Hill e31637af78
[mv3] Add ability to enable/disable filter lists 2022-09-13 17:44:24 -04:00
Raymond Hill d11a3f2fa3
Fix broken :not() operator when forcing parsing as procedural
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2262
2022-09-13 16:15:22 -04:00
Raymond Hill 93e5133783
Rename to less controversial name 2022-09-11 17:41:24 -04:00
Raymond Hill 887a87d9ca
Add support to report/filter SVG image elements
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2260
2022-09-11 12:20:01 -04:00
Raymond Hill 3e26a1ead8
Add missing dependency 2022-09-11 12:19:45 -04:00
Raymond Hill 7412d0fda7
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-09-11 11:16:04 -04:00
Raymond Hill d14750dde1
Make Firefox dev build auto-update 2022-09-11 11:15:45 -04:00
gorhill 2ea1d9c683 Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-11 15:10:20 +00:00
Raymond Hill f8c0f4525e
New revision for dev build 2022-09-11 11:09:07 -04:00
Raymond Hill 067e128163
Patch google-ima shim script for proper integration into uBO
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2158

Additionally, added firing of CONTENT_RESUME_REQUESTED event in
start() method.
2022-09-11 11:03:47 -04:00
Raymond Hill b6b6e49d57
Add original Firefox-authored google-ima shim script
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2158
2022-09-11 10:54:54 -04:00
Raymond Hill 9ce9588737
Import translation work from https://crowdin.com/project/ublock 2022-09-11 09:18:20 -04:00
Raymond Hill 257100e921
Add missing i18n attribute 2022-09-11 09:09:31 -04:00
Emilio Cobos Álvarez 4044aa182a
element-picker: Declare we support both light and dark color-schemes. (#3872)
This fixes https://github.com/uBlockOrigin/uBlock-issues/issues/2240 and
should get the desired behavior regardless of browser.

Delay showing the iframe until load to prevent flashing a white
background on the initial about:blank.
2022-09-11 07:34:29 -04:00
Raymond Hill 453fb1eb5e
Fix wording 2022-09-10 21:12:40 -04:00
Raymond Hill 4314764c48
Add missing translatable string
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1681
2022-09-10 21:05:09 -04:00
Raymond Hill d11f6a6296
Make Firefox dev build auto-update 2022-09-10 16:16:26 -04:00
gorhill 22d06f4eb6 Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-10 20:09:44 +00:00
Raymond Hill a9b643abcc
New revision for dev build 2022-09-10 16:08:38 -04:00
Raymond Hill 0d80a1132d
Fix typo in CSS 2022-09-10 16:08:05 -04:00
Raymond Hill 0910071bbd
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-09-10 15:11:51 -04:00
Raymond Hill 9d832fbc8f
Make Firefox dev build auto-update 2022-09-10 15:11:06 -04:00
gorhill 4bb08853c8 Update build log file
Files changed:\nM	dist/chromium-mv3/log.txt
2022-09-10 19:01:47 +00:00
Raymond Hill c64f8cb271
Maybe fix github action 2022-09-10 15:00:47 -04:00
Raymond Hill 39129ba6a6
Maybe fix github action 2022-09-10 14:43:44 -04:00
Raymond Hill 204dbe8401
Maybe fix github action 2022-09-10 14:38:38 -04:00
Raymond Hill c583a2e4b0
Fire tune build steps for mv3 version 2022-09-10 14:20:07 -04:00