Critical fix for AdGuard

Fix #135
This commit is contained in:
Imre Kristoffer Eilertsen authored and GitHub committed 2020-11-23 04:22:58 +01:00
1 parent 74bc96b8ae
commit 06bd0c1958
2 files changed
+7 -1

No files matched your search

@@ -1949,7 +1949,7 @@ vg.no##.advert
!
!#if env_legacy
!#include uBO%20list%20extensions/TemporaryWaterfoxClassicFixForNordicFilters.txt
!#endif
 
! 🇳🇴: ——— Vindusviskere for betalte artikler (sånn at de nederste linjene i en forhåndsvisning ikke toner ut) ———
@@ -147,6 +147,12 @@ def prepare_ag(lines) -> str:
line
)
line = re.sub(
r"!#include uBO%20list%20extensions/TemporaryWaterfoxClassicFixForNordicFilters\.txt",
r"",
line
)
text += line + '\r\n'
return text