From f6ce70f7cbf7c912219b4b19a9ae6120f3435530 Mon Sep 17 00:00:00 2001 From: Anton Lazarev Date: Mon, 16 Oct 2023 10:54:34 -0700 Subject: [PATCH] add newer brave-unbreak URL --- brave/lambda_actions/assemble.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/brave/lambda_actions/assemble.js b/brave/lambda_actions/assemble.js index a5481e0..062049b 100644 --- a/brave/lambda_actions/assemble.js +++ b/brave/lambda_actions/assemble.js @@ -8,11 +8,12 @@ const braveValidationLib = require('../validation') // Static lists that we use entirely in the default set of filters const COIN_MINER_URL = 'https://raw.githubusercontent.com/brave/adblock-lists/master/coin-miners.txt' -const BREAK_UNBREAK_URL = 'https://raw.githubusercontent.com/brave/adblock-lists/master/brave-unbreak.txt' +const BRAVE_UNBREAK_URL_OLD = 'https://raw.githubusercontent.com/brave/adblock-lists/master/brave-unbreak.txt' +const BRAVE_UNBREAK_URL_NEW = 'https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/brave-unbreak.txt' const UBLOCK_UNBREAK_URL = 'https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt' const NOTIFICATIONS_URL = 'https://easylist-downloads.adblockplus.org/fanboy-notifications.txt' const IOS_SPECIFIC_URL = 'https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/brave-ios-specific.txt' -const STATIC_RULE_URLS = [COIN_MINER_URL, BREAK_UNBREAK_URL, UBLOCK_UNBREAK_URL, NOTIFICATIONS_URL, IOS_SPECIFIC_URL] +const STATIC_RULE_URLS = [COIN_MINER_URL, BRAVE_UNBREAK_URL_OLD, BRAVE_UNBREAK_URL_NEW, UBLOCK_UNBREAK_URL, NOTIFICATIONS_URL, IOS_SPECIFIC_URL] const REGIONAL_CATALOG_URL = 'https://raw.githubusercontent.com/brave/adblock-resources/master/filter_lists/regional.json'