mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 13:31:09 +01:00
Realised only _now_ that the Privacy version was broken
This commit is contained in:
@@ -916,7 +916,7 @@ krom.is#@#.share-container
|
||||
!#endif
|
||||
|
||||
|
||||
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
|
||||
!#include AntiAdblockEntries.txt
|
||||
|
||||
|
||||
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
|
||||
|
||||
@@ -1056,12 +1056,6 @@ def prepare_privacy(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"! Version: [0-9][0-9][0-9][0-9].*",
|
||||
"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"\[Adblock Plus 3.4\]",
|
||||
"",
|
||||
@@ -1074,6 +1068,12 @@ def prepare_privacy(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries\.txt",
|
||||
r"!#include AntiAdblockEntries.txt",
|
||||
line
|
||||
)
|
||||
|
||||
text += line + '\r\n'
|
||||
|
||||
return text
|
||||
|
||||
Reference in New Issue
Block a user