[mv3] Use EasyList lists for "Annoyances" section

This commit is contained in:
Raymond Hill 2024-03-07 09:14:30 -05:00
parent 02966afb8c
commit 8533fa74ee
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 12 additions and 13 deletions

View File

@ -1225,7 +1225,6 @@ async function main() {
for ( const id of handpicked ) { for ( const id of handpicked ) {
const asset = assets[id]; const asset = assets[id];
if ( asset.content !== 'filters' ) { continue; } if ( asset.content !== 'filters' ) { continue; }
const contentURL = Array.isArray(asset.contentURL) const contentURL = Array.isArray(asset.contentURL)
? asset.contentURL[0] ? asset.contentURL[0]
: asset.contentURL; : asset.contentURL;
@ -1253,45 +1252,45 @@ async function main() {
}); });
await rulesetFromURLs({ await rulesetFromURLs({
id: 'annoyances-overlays', id: 'annoyances-overlays',
name: 'AdGuard/uBO Overlays', name: 'EasyList/uBO Overlay Notices',
group: 'annoyances', group: 'annoyances',
enabled: false, enabled: false,
secret, secret,
urls: [ urls: [
'https://filters.adtidy.org/extension/ublock/filters/19.txt', 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-newsletters.txt',
'https://ublockorigin.github.io/uAssets/filters/annoyances-others.txt', 'https://ublockorigin.github.io/uAssets/filters/annoyances-others.txt',
], ],
homeURL: 'https://github.com/AdguardTeam/AdguardFilters#adguard-filters', homeURL: 'https://github.com/easylist/easylist#fanboy-lists',
}); });
await rulesetFromURLs({ await rulesetFromURLs({
id: 'annoyances-social', id: 'annoyances-social',
name: 'AdGuard Social Media', name: 'EasyList Social Widgets',
group: 'annoyances', group: 'annoyances',
enabled: false, enabled: false,
urls: [ urls: [
'https://filters.adtidy.org/extension/ublock/filters/4.txt', 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-social.txt',
], ],
homeURL: 'https://github.com/AdguardTeam/AdguardFilters#adguard-filters', homeURL: 'https://github.com/easylist/easylist#fanboy-lists',
}); });
await rulesetFromURLs({ await rulesetFromURLs({
id: 'annoyances-widgets', id: 'annoyances-widgets',
name: 'AdGuard Widgets', name: 'EasyList Chat Widgets',
group: 'annoyances', group: 'annoyances',
enabled: false, enabled: false,
urls: [ urls: [
'https://filters.adtidy.org/extension/ublock/filters/22.txt', 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-chat.txt',
], ],
homeURL: 'https://github.com/AdguardTeam/AdguardFilters#adguard-filters', homeURL: 'https://github.com/easylist/easylist#fanboy-lists',
}); });
await rulesetFromURLs({ await rulesetFromURLs({
id: 'annoyances-others', id: 'annoyances-others',
name: 'AdGuard Other Annoyances', name: 'EasyList Other Annoyances',
group: 'annoyances', group: 'annoyances',
enabled: false, enabled: false,
urls: [ urls: [
'https://filters.adtidy.org/extension/ublock/filters/21.txt', 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-annoyances.txt'
], ],
homeURL: 'https://github.com/AdguardTeam/AdguardFilters#adguard-filters', homeURL: 'https://github.com/easylist/easylist#fanboy-lists',
}); });
// Handpicked rulesets from abroad // Handpicked rulesets from abroad