From 54ebea31f773497afdd5a235979195edfc2d73c2 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 12 Dec 2024 20:00:08 -0500 Subject: [PATCH] Use HOSTS version of "Malicious URL Blocklist" Related issue: https://github.com/uBlockOrigin/uBOL-home/issues/256 --- assets/assets.json | 12 +++++++++++- platform/mv3/make-rulesets.js | 4 +--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/assets/assets.json b/assets/assets.json index 6449dbe932434..82b4505df0c81 100644 --- a/assets/assets.json +++ b/assets/assets.json @@ -830,7 +830,7 @@ "off": true, "title": "🇷🇺ru 🇺🇦ua 🇺🇿uz 🇰🇿kz: RU AdList", "tags": "ads belarusian беларуская kazakh tatar russian русский ukrainian українська uzbek", - "lang": "be kk tt ru uk uz", + "lang": "be kk tt ru uz", "contentURL": "https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt", "cdnURLs": [ "https://cdn.jsdelivr.net/gh/dimisa-RUAdList/RUAdListCDN@main/lists/ruadlist.ubo.min.txt", @@ -922,6 +922,16 @@ "supportURL": "https://github.com/AdguardTeam/AdguardFilters#adguard-filters", "instructionURL": "https://adguard.com/kb/general/ad-filtering/adguard-filters/" }, + "UKR-0": { + "content": "filters", + "group": "regions", + "off": true, + "title": "🇺🇦ua: Ukrainian Ad List", + "tags": "ads ukraine україна", + "lang": "uk", + "contentURL": "https://raw.githubusercontent.com/ukrainianfilters/lists/main/ads/ads.txt", + "supportURL": "https://github.com/ukrainianfilters/lists" + }, "VIE-1": { "content": "filters", "group": "regions", diff --git a/platform/mv3/make-rulesets.js b/platform/mv3/make-rulesets.js index 1dc121d813889..e23de3e44a1a6 100644 --- a/platform/mv3/make-rulesets.js +++ b/platform/mv3/make-rulesets.js @@ -1292,11 +1292,9 @@ async function main() { name: 'Malicious URL Blocklist', enabled: true, urls: [ - 'https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-domains.txt', + 'https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-hosts.txt', ], filters: [ - // https://github.com/uBlockOrigin/uBOL-home/issues/256 - '192.168.1.1$badfilter', ], homeURL: 'https://gitlab.com/malware-filter/urlhaus-filter', });