Raymond Hill
a559f5f271
Add experimental mv3 version
...
This create a separate Chromium extension, named
"uBO Minus (MV3)".
This experimental mv3 version supports only the blocking of
network requests through the declarativeNetRequest API, so as
to abide by the stated MV3 philosophy of not requiring broad
"read/modify data" permission. Accordingly, the extension
should not trigger the warning at installation time:
Read and change all your data on all websites
The consequences of being permission-less are the following:
- No cosmetic filtering (##)
- No scriptlet injection (##+js)
- No redirect= filters
- No csp= filters
- No removeparam= filters
At this point there is no popup panel or options pages.
The default filterset correspond to the default filterset of
uBO proper:
Listset for 'default':
https://ublockorigin.github.io/uAssets/filters/badware.txt
https://ublockorigin.github.io/uAssets/filters/filters.txt
https://ublockorigin.github.io/uAssets/filters/filters-2020.txt
https://ublockorigin.github.io/uAssets/filters/filters-2021.txt
https://ublockorigin.github.io/uAssets/filters/filters-2022.txt
https://ublockorigin.github.io/uAssets/filters/privacy.txt
https://ublockorigin.github.io/uAssets/filters/quick-fixes.txt
https://ublockorigin.github.io/uAssets/filters/resource-abuse.txt
https://ublockorigin.github.io/uAssets/filters/unbreak.txt
https://easylist.to/easylist/easylist.txt
https://easylist.to/easylist/easyprivacy.txt
https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-online.txt
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
The result of the conversion of the filters in all these
filter lists is as follow:
Ruleset size for 'default': 22245
Good: 21408
Maybe good (regexes): 127
redirect-rule= (discarded): 458
csp= (discarded): 85
removeparams= (discarded): 22
Unsupported: 145
The fact that the number of DNR rules are far lower than the
number of network filters reported in uBO comes from the fact
that lists-to-rulesets converter does its best to coallesce
filters into minimal set of rules. Notably, the DNR's
requestDomains condition property allows to create a single
DNR rule out of all pure hostname-based filters.
Regex-based rules are dynamically added at launch time since
they must be validated as valid DNR regexes through
isRegexSupported() API call.
At this point I consider being permission-less the limiting
factor: if broad "read/modify data" permission is to be used,
than there is not much point for an MV3 version over MV2, just
use the MV2 version if you want to benefit all the features
which can't be implemented without broad "read/modify data"
permission.
To locally build the MV3 extension:
make mv3
Then load the resulting extension directory in the browser
using the "Load unpacked" button.
From now on there will be a uBlock0.mv3.zip package available
in each release.
2022-09-06 13:47:52 -04:00
Alex
b9aa791901
Update main.yml
2022-08-31 06:26:57 +01:00
Raymond Hill
087da6407d
Add support for nodejs flavors
...
The main nodejs flavor is "npm", which is to be used to
lint/test and the publication of an official npm
package -- and by design it has dependencies on mocha,
eslint, etc.
A new flavor "dig" has been created with minimal
dependencies and which purpose is to easily allow to
write specialized code to investigate local code changes
in uBO -- and it's not meant for publication.
Consequently, "make nodejs" has been replaced with
"make npm", and a new "dig" target has been added to the
makefile, to be used for instrumenting local code changes
for investigation purpose.
2021-08-15 10:43:36 -04:00
Raymond Hill
f98666f7a3
Publish tgz package instead of zip
...
Related feedback:
- https://github.com/gorhill/uBlock/pull/3812#issuecomment-897057648
2021-08-12 08:35:33 -04:00
Manish Jethani
63591ef2aa
Make uAssets a submodule
2021-07-29 19:36:49 +05:30
Raymond Hill
d7cd6d72f6
Build/release a nodejs package in tagged releases
...
Related issue:
- https://github.com/cliqz-oss/adblocker/pull/2075
2021-07-28 19:43:11 -04:00
Raymond Hill
646ddff8fe
Minor changes
2020-12-10 08:26:03 -05:00
Raymond Hill
777b212214
Attempt to make make GitHub Actions work
2020-12-09 12:00:59 -05:00
Raymond Hill
0415e28eae
Attempt to make make GitHub Actions work
2020-12-09 11:58:46 -05:00
Raymond Hill
95b4ecf5dd
Attempt to make make GitHub Actions work
2020-12-09 11:53:18 -05:00
Raymond Hill
ece83e5834
Attempt to make make GitHub Actions work
2020-12-09 11:47:09 -05:00
Raymond Hill
25bf99834f
Attempt to make make GitHub Actions work
2020-12-09 11:35:33 -05:00
Raymond Hill
28590e019d
Attempt to make make GitHub Actions work
2020-12-09 11:32:56 -05:00
Raymond Hill
8a754f65c1
Attempt to make make GitHub Actions work
2020-12-09 11:30:09 -05:00
Raymond Hill
22a4848d8f
Attempt to make make GitHub Actions work
2020-12-09 11:23:14 -05:00
Raymond Hill
210fbf9353
Attempt to make make GitHub Actions work
2020-12-09 11:09:14 -05:00
Raymond Hill
6691282bc2
Attempt to make make GitHub Actions work
2020-12-09 11:03:12 -05:00
Raymond Hill
f12f1d4c85
Attempt to make make GitHub Actions work
2020-12-09 10:51:34 -05:00
Raymond Hill
2d4924ab9d
Attempt to make make GitHub Actions work
2020-12-09 10:48:30 -05:00
Raymond Hill
50ba57f8fc
Attempt to make make GitHub Actions work
2020-12-09 10:47:10 -05:00
Raymond Hill
ea89baf1fd
Attempt to make make GitHub Actions work
2020-12-09 10:35:02 -05:00
Raymond Hill
392888506c
Attempt to make make GitHub Actions work
2020-12-09 10:26:06 -05:00
Raymond Hill
61b1d87b52
Attempt to make make GitHub Actions work
2020-12-09 10:16:02 -05:00
Raymond Hill
045f6a4cac
Attempt to make make GitHub Actions work
2020-12-09 10:14:36 -05:00
Raymond Hill
ec8a9dcd82
Update main.yml
2020-12-08 13:35:28 -05:00
Raymond Hill
958c1cf9ea
Update main.yml
2020-12-08 12:37:09 -05:00
Raymond Hill
42a9f99489
Create main.yml
...
This probably won't work...
2020-12-08 12:05:02 -05:00