Raymond Hill
17590c5a0c
Use `git clone` instead of submodule to pull uAssets dependencies
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2358
We need two different branches of uAssets to properly add the
default filter lists into the packages. I couldn't figure out
how to do this with submodules, using simple `git clone` as a
dependency just work.
2022-11-14 09:50:53 -05:00
Raymond Hill
d79898a3c4
Fix asset name
2022-10-18 09:16:14 -04:00
Raymond Hill
8dfefe5910
Rename directory
2022-09-27 10:46:56 -04:00
Raymond Hill
9764063db9
[mv3] Fix release name in GitHub Actions
2022-09-20 09:24:43 -04:00
Raymond Hill
f374c05753
[mv3] Stick to int32 instead of 8-char hex strings for file hashes
2022-09-19 20:21:10 -04:00
Raymond Hill
7116bf9a46
GitHub Actions stuff
2022-09-19 11:53:04 -04:00
Raymond Hill
749de482ee
GitHub Actions stuff
2022-09-19 11:31:04 -04:00
Raymond Hill
8eb2f4077a
Better action name
2022-09-19 11:11:07 -04:00
Raymond Hill
adb5d503d9
[mv3] Add GitHub action to build mv3 separately form uBO
2022-09-19 11:08:34 -04: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
Raymond Hill
517f7f5c23
Github action stuff
2022-09-08 12:07:01 -04:00
Raymond Hill
3d4ac1bc0a
Github action stuff
2022-09-08 11:29:35 -04:00
Raymond Hill
6395591b13
Github action stuff
2022-09-08 11:09:55 -04:00
Raymond Hill
33e825da1d
Hope this fixes github action
2022-09-08 10:28:24 -04:00
Raymond Hill
9a66b37fe0
Fix github action for mv3
2022-09-08 10:16:08 -04:00
Raymond Hill
f7205fe2e4
Fine tune build steps
2022-09-07 10:23:40 -04:00
Raymond Hill
224410a6f5
Add per-site on/off switch to mv3 experimental version
2022-09-07 10:15:36 -04:00
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