Add files via upload

Certified "How long had that syntax error been there?" moment.
This commit is contained in:
Imre Eilertsen
2025-08-18 23:29:14 +02:00
committed by GitHub
parent d560068832
commit 424df95660
2 changed files with 3 additions and 21 deletions
@@ -1,5 +1,5 @@
itle: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdGuard)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdGuard)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (for AdGuard)
! Last modified: 18August2025v1
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
@@ -36,7 +36,7 @@ def prepare_ag(lines) -> str:
for line in lines:
line = re.sub(
r"^.*(itle:.*Dandelion Sprout.*)",
r"^(! Title.*Dandelion Sprout.*)$",
r"\1 (for AdGuard)",
line
)
@@ -89,24 +89,6 @@ def prepare_ag(lines) -> str:
line
)
line = re.sub(
r"^!.*PFBLOCKERNG.*$",
r"",
line
)
line = re.sub(
":-abp-has\(",
":has(",
line
)
line = re.sub(
":-abp-contains\(",
":has-text(",
line
)
line = re.sub(
r"^!#include NorwegianExperimentalList%20alternate%20versions/NordicFilters-FirefoxAndroidUBOWorkaround\.txt",
r"",