From 22d03906fb6bd410ab06bc38e127056dad1c22e2 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 16 Sep 2022 16:36:09 -0400 Subject: [PATCH] [mv3] For the time being assemble defautl lists manually --- platform/mv3/make-rulesets.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/platform/mv3/make-rulesets.js b/platform/mv3/make-rulesets.js index 4a1f77a33..14d6f8b09 100644 --- a/platform/mv3/make-rulesets.js +++ b/platform/mv3/make-rulesets.js @@ -566,15 +566,17 @@ async function main() { ); // Assemble all default lists as the default ruleset - const contentURLs = []; - for ( const asset of Object.values(assets) ) { - if ( asset.content !== 'filters' ) { continue; } - if ( asset.off === true ) { continue; } - const contentURL = Array.isArray(asset.contentURL) - ? asset.contentURL[0] - : asset.contentURL; - contentURLs.push(contentURL); - } + const contentURLs = [ + 'https://ublockorigin.pages.dev/filters/filters.txt', + 'https://ublockorigin.pages.dev/filters/badware.txt', + 'https://ublockorigin.pages.dev/filters/privacy.txt', + 'https://ublockorigin.pages.dev/filters/resource-abuse.txt', + 'https://ublockorigin.pages.dev/filters/unbreak.txt', + 'https://ublockorigin.pages.dev/filters/quick-fixes.txt', + 'https://secure.fanboy.co.nz/easylist.txt', + 'https://secure.fanboy.co.nz/easyprivacy.txt', + 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext', + ]; await rulesetFromURLS({ id: 'default', name: 'Ads, trackers, miners, and more' ,