Critical fix for AdGuard

Fix #135
This commit is contained in:
Imre Kristoffer Eilertsen
2020-11-23 04:22:58 +01:00
committed by GitHub
parent 74bc96b8ae
commit 06bd0c1958
2 changed files with 7 additions and 1 deletions
@@ -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