mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-24 22:03:36 +01:00
Microscopic corrections for Brave and TPL
This commit is contained in:
@@ -124,7 +124,7 @@ msFilterList
|
||||
- partners *_ad_icon
|
||||
- resources dfp
|
||||
-d liveads.no
|
||||
-d leikjaland.is *logo.png|
|
||||
-d leikjaland.is *logo.png
|
||||
-d leikjaland.is bannerstopright
|
||||
-d siglo.is strevda
|
||||
-d trolli.is videoval_logo
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Adblock Plus 3.4]
|
||||
! Version: 15April2020v3
|
||||
! Version: 15April2020v3-Alpha
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for Brave Browser)
|
||||
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (for Brave Browser)
|
||||
! Expires: 12 hours
|
||||
|
||||
@@ -989,6 +989,12 @@ def prepare_tpl(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\|$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_tpl(line) and not line == '':
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -1332,7 +1338,7 @@ def prepare_brave(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^(! Version: .*)",
|
||||
r"(! Version: .*)",
|
||||
r"\1-Alpha",
|
||||
line
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user