Add files via upload

This commit is contained in:
Imre Eilertsen
2024-10-06 02:48:07 +02:00
committed by GitHub
parent f2a9d7855f
commit fb8e918aa4
11 changed files with 17 additions and 16 deletions
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (for AdGuard Home, AdGuard for Android/Windows/macOS sine DNS-filtreringer, AdGuard Private DNS, og Pi-Hole FTL ≥5.22)
# Translated title: Dandelion Sprout's Nordic Filters (for AdGuard Home, AdGuard for Android/Windows/macOS' DNS filtering, AdGuard Private DNS, and Pi-Hole FTL ≥5.22)
# Version: 05September2024v1
# Version: 06October2024v1
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
# Platform notes: This list version is intended for those who use AdGuard Home and its oddly specific subset of adblocker syntaxes.
# For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (Domenehviteliste)
# Translated title: Dandelion Sprout's Nordic Filters (Domains allowlist)
# Version: 05September2024v1-Beta
# Version: 06October2024v1-Beta
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
!#if !env_mv3
# Platform notes: This list version is intended for users of Pi-hole, Blokada and DNS66, as a recommended supplement to their regular list versions. For AdGuard Home, the allowlistings are already incorporated in its regular list version.
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (for MinerBlock)
# Translated title: Dandelion Sprout's Nordic Filters (for MinerBlock)
# Version: 05September2024v1-Alpha
# Version: 06October2024v1-Alpha
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
!#if !env_mv3
# Platform notes: So, let's say your company boss is not letting you install any adblocker on your awful work laptop, but (s)he lets you install MinerBlock for some indeterminable reason? In this very unlikely case, I've saved your day.
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre («hosts.deny»-versjonen)
# Translated title: Dandelion Sprout's Nordic Filters (The «hosts.deny» version)
# Version: 05September2024v1-Deprecated
# Version: 06October2024v1-Deprecated
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
# Platform notes: This list version is intended for those who still use a Linux system function called «hosts.deny».
# For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,6 +1,6 @@
# Title: Dandelion Sprouts nordiske filtre (IPv6-«hosts»-versjonen)
# Translated title: Dandelion Sprout's Nordic Filters (The IPv6 «hosts» file version)
# Version: 05September2024v1
# Version: 06October2024v1
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
!#if !env_mv3
# Platform notes: This list version is meant to be used simultaneously of the regular «Hosts» version when using computer/Android system hosts file editors like Hosts File Editor, Gas Mask, Magisk Manager, etc. It is not needed for tools that strip away the entries' IP address, such as Blokada and pfBlockerNG.
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (for Pi-hole v5.21 og tidligere)
# Translated title: Dandelion Sprout's Nordic Filters (for Pi-hole v5.21 and earlier)
# Version: 05September2024v1-Deprecated
# Version: 06October2024v1-Deprecated
# Users of Pi-Hole FTL 5.22 and later are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersAdGuardHome.txt, unless otherwise proven.
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
!#if !env_mv3
@@ -1,6 +1,6 @@
; Title: 📔 Dandelion Sprouts nordiske filtre (for BIND/RPZ)
; Translated title: Dandelion Sprout's Nordic Filters (for BIND/RPZ)
; Version: 05September2024v1-Alpha
; Version: 06October2024v1-Alpha
; Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
; Platform notes: This list version is intended for those who use BIND or other DNS server tools that support RPZ files.
; For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (for Shadowsocks)
# Translated title: Dandelion Sprout's Nordic Filters (for Shadowsocks)
# Version: 05September2024v1-Alpha
# Version: 06October2024v1-Alpha
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
# Platform notes: This list version is intended for those who use Shadowsocks, Shadowrocket, Surge, and other Socks5-based tools that have become popular in PR-China for several reasons.
# For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,6 +1,6 @@
# Title: 📔 Dandelion Sprouts nordiske filtre (for Unbound)
# Translated title: Dandelion Sprout's Nordic Filters (for Unbound)
# Version: 05September2024v1-Alpha
# Version: 06October2024v1-Alpha
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
# Platform notes: This list version is intended for those who use the DNS server tool Unbound.
# For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,7 +1,8 @@
# Title: Dandelion Sprouts nordiske filtre («hosts»-versjonen)
# Translated title: Dandelion Sprout's Nordic Filters (The «hosts» file version)
# Version: 05September2024v1
# Users of Pi-Hole FTL 5.22 and later are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersAdGuardHome.txt, unless otherwise proven.
# Version: 06October2024v1
# Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersAdGuardHome.txt, unless otherwise proven.
# Users of uBlock Origin are STRONGLY RECOMMENDED to switch to the uBO list version at https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/NorwegianList.txt, unless otherwise proven.
# Description: This is a slimmer version of "Dandelion Sprout's Nordic Filters", intended for users of software tools that doesn't support adblocker syntaxes. It chiefly targets scams, malware and adverts, on Norwegian, Danish, Icelandic and Faroese websites.
!#if !env_mv3
# Platform notes: This list version is intended for tools that deal with so-called «hosts» system files, including pfBlockerNG, Gas Mask, Diversion, Hosts File Editor, and many others; as well as those who edit their OS' «hosts» system file.
@@ -3427,7 +3427,7 @@ def prepare_hosts(lines) -> str:
line = re.sub(
r"(# (Version|Last[ -]?[Mm]odified):.*)",
r"\1\n# Users of Pi-Hole FTL 5.22 and later are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersAdGuardHome.txt, unless otherwise proven.",
r"\1\n# Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersAdGuardHome.txt, unless otherwise proven.\n# Users of uBlock Origin are STRONGLY RECOMMENDED to switch to the uBO list version at https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/NorwegianList.txt, unless otherwise proven.",
line
)
@@ -6208,7 +6208,7 @@ def prepare_hosts(lines) -> str:
line = re.sub(
r"^(.*Description: .*)$",
r"\1\n# Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt, unless otherwise proven.\n!#if !env_mv3",
r"\1\n# Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt, unless otherwise proven.\n# Users of uBlock Origin are STRONGLY RECOMMENDED to switch to the uBO list version at https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/Dandelion%20Sprout's%20Anti-Malware%20List.txt, unless otherwise proven.\n!#if !env_mv3",
line
)
@@ -6225,7 +6225,7 @@ def prepare_hosts(lines) -> str:
)
line = re.sub(
r"^:.{1,5}(\$.*)$",
r"^:.{1,5}(\$.*)?$",
r"",
line
)
@@ -6432,7 +6432,7 @@ def prepare_domains(lines) -> str:
line = re.sub(
r"(# Description.*$)",
r"\1\n# Note: The very limited syntax available to raw domains lists, considering it's, well, raw, means that outright anti-MV3 measures (which'd as of February 2024 only affect Minus, a project whose name is unworthy of the uBO label; AdGuard browser extensions has no relevant support for raw domains either way) cannot be done. However, at some 20,000 entries, Team Chromium's shameful leaders aren't liking this list anyway.\n# Note 2: Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt, unless otherwise proven.",
r"\1\n# Note: The very limited syntax available to raw domains lists, considering it's, well, raw, means that outright anti-MV3 measures (which'd as of February 2024 only affect Minus, a project whose name is unworthy of the uBO label; AdGuard browser extensions has no relevant support for raw domains either way) cannot be done. However, at some 20,000 entries, Team Chromium's shameful leaders aren't liking this list anyway.\n# Note 2: Users of Pi-Hole FTL 5.22 and later, and of AdGuard Home, are STRONGLY RECOMMENDED to switch to the || version at https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt, unless otherwise proven.\n# Note 3: Users of uBlock Origin are STRONGLY RECOMMENDED to switch to the uBO list version at https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/Dandelion%20Sprout's%20Anti-Malware%20List.txt, unless otherwise proven.",
line
)
@@ -6467,7 +6467,7 @@ def prepare_domains(lines) -> str:
)
line = re.sub(
r"^:.{1,5}(\$.*)$",
r"^:.{1,5}(\$.*)?$",
r"",
line
)