mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
a13ac92089
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1116
- https://github.com/uBlockOrigin/uBlock-issues/issues/984
It has been found that the two malware lists uBO uses by
default appear to be essentially no longer maintained.
urlhaus list[1] has been identified by the community as
being well maintained and as being actually useful as a
default malware-related list in uBO, since it's being updated
every day from a database of top domains and specific URLs
identified as serving malicious content. Additionally, the
maintainer of urlhaus list has taken steps to increase
compatibility with uBO[2].
The decision has been to replace the current two malware-
related lists with urlhaus list, which will be enabled by
default in uBO -- and this means that list will be part of
uBO's package from now on.
For those who have the two removed malware lists enabled,
these will be moved to the custom lists section -- they
will still be enabled. It is suggested users remove them from
their selection of lists as their usefulness at this point
is questionable.
[1] https://gitlab.com/curben/urlhaus-filter
[2] 859dfd03c6
30 lines
888 B
Bash
Executable file
30 lines
888 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# This script assumes a linux environment
|
|
|
|
DES=$1/assets
|
|
|
|
printf "*** Packaging assets in $DES... "
|
|
|
|
if [ -n "${TRAVIS_TAG}" ]; then
|
|
pushd .. > /dev/null
|
|
git clone --depth 1 https://github.com/uBlockOrigin/uAssets.git
|
|
popd > /dev/null
|
|
fi
|
|
|
|
rm -rf $DES
|
|
cp -R ./assets $DES/
|
|
|
|
mkdir $DES/thirdparties
|
|
cp -R ../uAssets/thirdparties/easylist-downloads.adblockplus.org $DES/thirdparties/
|
|
cp -R ../uAssets/thirdparties/pgl.yoyo.org $DES/thirdparties/
|
|
cp -R ../uAssets/thirdparties/publicsuffix.org $DES/thirdparties/
|
|
cp -R ../uAssets/thirdparties/urlhaus-filter $DES/thirdparties/
|
|
|
|
mkdir $DES/ublock
|
|
cp -R ../uAssets/filters/* $DES/ublock/
|
|
# Optional filter lists: do not include in package
|
|
rm $DES/ublock/annoyances.txt
|
|
rm $DES/ublock/resources.txt
|
|
|
|
echo "done."
|