mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-04 07:51:08 +01:00
Add files via upload
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user