mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 22:04:30 +01:00
Add files via upload
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
msFilterList
|
||||
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
|
||||
# Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites
|
||||
# Last modified: 28August2024v2
|
||||
# Last modified: 28August2024v2-Deprecated
|
||||
: expires = 18 hours
|
||||
# Lisens Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
# Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for «uBlock Origin Legacy»)
|
||||
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (for «uBlock Origin Legacy»)
|
||||
! Last modified: 28August2024v2
|
||||
! Last modified: 28August2024v2-Beta
|
||||
! Expires: 18 hours
|
||||
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uMatrix-regler til å benytte sammen med domeneversjonen)
|
||||
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (uMatrix rules to use together with the raw domains version)
|
||||
! Last modified: 28August2024v2
|
||||
! Last modified: 28August2024v2-Alpha
|
||||
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
! 🇳🇴: Denne listen dekker nettsteder for Norge, Danmark, Island, Færøyene, Grønland, Schleswig-Holsteins danske minoritet, og samebefolkningen. For mere informasjon, detaljer, hjelpemidler, og andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[Adblock Plus 3.13]
|
||||
! Title: 🏔️ Dandelion Sprouts helnordiske filtre for ryddigere nettsider (for Adblock Plus - Møter ABP sine inkluderingsregler — Firefox ≥v121,x og Chromium ≥105,x)
|
||||
! Title 🇬🇧: Dandelion Sprout's All-Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance — Firefox ≥v121.x, Chromium ≥105.x)
|
||||
! Last modified: 28August2024v2
|
||||
! (Version|Last[ -]?[Mm]odified): Last modified08282024
|
||||
! Expires: 18 hours
|
||||
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
@@ -3275,7 +3275,7 @@ triplx.dk##.aff-inner-col
|
||||
! https://github.com/brave/adblock-lists/issues/768 (Remove when Shield Standard Mode adds support for cosmetic filtering in default lists)
|
||||
||akamai.vgc.no/drfront3^$image
|
||||
! Generic entries that seem like they'd apply to the internet as a whole (Nordic sites included) that aren't in EasyList or AdGuard Base Filter, but which are in either uBlock Filters Ads, uBlock Filters Unbreak, or uBlock Filters Badware Risks.
|
||||
! Version: 260620241-Extension
|
||||
! (Version|Last[ -]?[Mm]odified): Version06262024-Extension
|
||||
###ad_feature:not(:empty)
|
||||
###ad_img:not(:empty)
|
||||
###adContext:not(:empty)
|
||||
@@ -3397,7 +3397,7 @@ triplx.dk##.aff-inner-col
|
||||
|
||||
! Generic entries that seem like they'd apply to the internet as a whole (Nordic sites included) that aren't in EasyList or uBlock Filters, but which are in AdGuard Base Filter.
|
||||
! An equivalent file also exists for AdGuard softwares.
|
||||
! Version: 210520241-Extension
|
||||
! (Version|Last[ -]?[Mm]odified): Version05212024-Extension
|
||||
###ad-fullbanner2-billboard-outer
|
||||
###ad-topper
|
||||
###ad_300X250
|
||||
@@ -3538,7 +3538,7 @@ triplx.dk##.aff-inner-col
|
||||
[Adblock Plus 3.13]
|
||||
! Title: 🇸🇪 Swedish List for Adblock Plus
|
||||
! Expires: 6 days (update frequency)
|
||||
! Version: 230520242
|
||||
! (Version|Last[ -]?[Mm]odified): Version05232024
|
||||
! Swedish section's homepage: https://github.com/DandelionSprout/Swedish-List-for-Adblock-Plus
|
||||
! 🇸🇪 Beskrivning: Den här listan fjärnar reklamar och sporing på svenskspråkiga websidor. Den är mycket närt knuten till «Frellwit's Swedish Filters», men har blivit modifiserad för att fjärna uppföringer som stridar emot reglementet för inkludering i Adblock Plus (så som anti-anti-adblocking, cookie-notifikationer, nyhetsbrev, med mer), och öka kompatibiliteten med ABP sin syntax, eftersom Frellwits lista inte tilbjuder offisiell brukerstöd för ABP-brukare. Planen är att synkronisera med listan honoms omkring en gång i månaden, och att vi i ABP-teamet lägger till båda variga och mildertidiga fixer i mällantiden.
|
||||
! 🇬🇧 Description: This list removes advertising and tracking on Swedish-language websites. It is very closely connected to "Frellwit's Swedish Filters", but has been modified to remove entries that are against the rules for inclusion in Adblock Plus (such as anti-anti-adblocking, cookie notifications, newsletters, etc.), and increase compatibility with ABP's syntax, since Frellwit's list does not offer official user support for ABP users. The plan is to synchronise with his list roughly once a month, and that the ABP team add both permanent and temporary fixes in the meantime.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[Adblock Plus 3.13]
|
||||
! Title: 🏔️ Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for AdBlock og Adblock Plus)
|
||||
! Title 🇬🇧: Dandelion Sprout's West Nordic filters for tidier websites (for AdBlock and Adblock Plus)
|
||||
! Last modified: 28August2024v2
|
||||
! (Version|Last[ -]?[Mm]odified): Last modified08282024
|
||||
! Expires: 18 hours
|
||||
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for Privoxy)
|
||||
# Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (for Privoxy)
|
||||
# Last modified: 28August2024v2
|
||||
# Last modified: 28August2024v2-Deprecated
|
||||
# Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
# Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
# 🇳🇴: Denne listen dekker nettsteder for Norge, Danmark, Island, Færøyene, Grønland, Schleswig-Holsteins danske minoritet, og samebefolkningen. For mere informasjon, detaljer, hjelpemidler, og andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
|
||||
|
||||
@@ -48,7 +48,7 @@ def prepare_ag(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: \d{4}.*$",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \d{4}.*$",
|
||||
"",
|
||||
line
|
||||
)
|
||||
@@ -473,74 +473,74 @@ def prepare_abp(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)January(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>01\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)January(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>01\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)February(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>02\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)February(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>02\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)March(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>03\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)March(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>03\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)April(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>04\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)April(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>04\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)May(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>05\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)May(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>05\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)June(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>06\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)June(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>06\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)July(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>07\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)July(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>07\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)August(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>08\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)August(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>08\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)September(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>09\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)September(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>09\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)October(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>10\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)October(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>10\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)November(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>11\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)November(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>11\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)December(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>12\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)December(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>12\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
@@ -1208,7 +1208,7 @@ def prepare_tpl(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*\d[A-Z].*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*\d[A-Z].*)",
|
||||
r"\1-Deprecated",
|
||||
line
|
||||
)
|
||||
@@ -1522,7 +1522,7 @@ def prepare_privoxy(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(! Version: .*)",
|
||||
r"(! (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Deprecated",
|
||||
line
|
||||
)
|
||||
@@ -2160,7 +2160,7 @@ def prepare_umatrix(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^(! Version:.*)",
|
||||
r"^(! (Version|Last[ -]?[Mm]odified):.*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
@@ -2257,7 +2257,7 @@ def prepare_xul(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(^! Version: .*)",
|
||||
r"(^! (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Beta",
|
||||
line
|
||||
)
|
||||
@@ -2682,74 +2682,74 @@ def prepare_abp(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)January(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>01\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)January(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>01\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)February(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>02\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)February(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>02\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)March(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>03\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)March(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>03\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)April(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>04\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)April(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>04\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)May(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>05\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)May(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>05\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)June(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>06\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)June(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>06\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)July(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>07\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)July(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>07\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)August(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>08\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)August(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>08\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)September(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>09\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)September(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>09\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)October(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>10\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)October(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>10\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)November(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>11\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)November(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>11\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: (.*)December(.*)v(\d\d?)",
|
||||
r"! Version: \g<1>12\2\3",
|
||||
r"! (Version|Last[ -]?[Mm]odified): (.*)December(.*)v(\d\d?)",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \g<1>12\2\3",
|
||||
line
|
||||
)
|
||||
|
||||
@@ -3396,7 +3396,7 @@ def prepare_hosts(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version:.*)",
|
||||
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.",
|
||||
line
|
||||
)
|
||||
@@ -3671,7 +3671,7 @@ def prepare_hostsdeny(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Deprecated",
|
||||
line
|
||||
)
|
||||
@@ -3719,7 +3719,7 @@ def prepare_pihole(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Deprecated\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.",
|
||||
line
|
||||
)
|
||||
@@ -4089,7 +4089,7 @@ def prepare_shadowsocks(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
@@ -4214,7 +4214,7 @@ def prepare_rpz(lines) -> str:
|
||||
for line in lines:
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
@@ -4285,7 +4285,7 @@ def prepare_unbound(lines) -> str:
|
||||
for line in lines:
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
@@ -4350,7 +4350,7 @@ def prepare_minerblock(lines) -> str:
|
||||
for line in lines:
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
@@ -4523,7 +4523,7 @@ def prepare_domainsallowlist(lines) -> str:
|
||||
for line in lines:
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version: .*)",
|
||||
r"(# (Version|Last[ -]?[Mm]odified): .*)",
|
||||
r"\1-Beta",
|
||||
line
|
||||
)
|
||||
@@ -4692,7 +4692,7 @@ def prepare_ag(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: \d{4}.*$",
|
||||
r"! (Version|Last[ -]?[Mm]odified): \d{4}.*$",
|
||||
"",
|
||||
line
|
||||
)
|
||||
@@ -5686,7 +5686,7 @@ def prepare_tpl(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^(# Version: .*\d)$",
|
||||
r"^(# (Version|Last[ -]?[Mm]odified): .*\d)$",
|
||||
r"\1-Deprecated",
|
||||
line
|
||||
)
|
||||
@@ -5857,7 +5857,7 @@ def prepare_privoxy(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^(# Version: .*\d)$",
|
||||
r"^(# (Version|Last[ -]?[Mm]odified): .*\d)$",
|
||||
r"\1-Deprecated",
|
||||
line
|
||||
)
|
||||
@@ -6100,7 +6100,7 @@ def prepare_hosts(lines) -> str:
|
||||
|
||||
|
||||
line = re.sub(
|
||||
r"(# Version:.*)",
|
||||
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/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt, unless otherwise proven.",
|
||||
line
|
||||
)
|
||||
@@ -7521,7 +7521,7 @@ def prepare_domains(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^# Version: [a-zA-Z0-9]{1,}$",
|
||||
r"^# (Version|Last[ -]?[Mm]odified): [a-zA-Z0-9]{1,}$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user