Add files via upload

This commit is contained in:
Imre Kristoffer Eilertsen
2024-01-19 04:51:21 +01:00
committed by GitHub
parent 6304cdad1f
commit ec52fc0211
2 changed files with 7 additions and 0 deletions
@@ -14,6 +14,7 @@
! Wish to help translate more category titles to Nordic languages 🇩🇰 🇮🇸 🇳🇴🏞 🇫🇴 🇬🇱 ❄? https://crowdin.com/project/dandelion-sprout-nordic-filter
! If you wish to remove cookie banners from Nordic websites, check out https://www.i-dont-care-about-cookies.eu/
! As of 19 January 2024, syntax support for Firefox ESR v115.x, Tor Browser, and Waterfox, is somewhat spotty in this list, because this list has chose to follow a new ABP guideline from 12 January onwards that assumes native «:has» CSS in browsers, which for Firefox has only been true since Stable v122.x.
! 🇳🇴/🇩🇰: ——— Reklamer ———
! 🇳🇴🏞: ——— Reklamar ———
@@ -3227,6 +3227,12 @@ def prepare_abp(lines) -> str:
line
)
line = re.sub(
r"^(! If you wish to remove.*)",
r"\1\n! As of 19 January 2024, syntax support for Firefox ESR v115.x, Tor Browser, and Waterfox, is somewhat spotty in this list, because this list has chose to follow a new ABP guideline from 12 January onwards that assumes native «:has» CSS in browsers, which for Firefox has only been true since Stable v122.x.",
line
)
if is_supported_abp(line):
text += line + '\n'