mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-27 16:31:18 +00:00
Fix #230
This commit is contained in:
1 parent
f2a443df81
commit
e04e6e090a
3 files changed
+16
-4
No files matched your search
@@ -2274,7 +2274,7 @@ sofabold.dk##.centerMgfx
|
||||
!#if env_chromium
|
||||
!#if env_safari
|
||||
!+ NOT_OPTIMIZED
|
||||
!#include NorwegianExperimentalList%20alternate%20versions/NordicFilters-NotFirefox.txt
|
||||
!#include NordicFilters-NotFirefox.txt
|
||||
!#endif
|
||||
!#endif
|
||||
|
||||
|
||||
@@ -2267,14 +2267,14 @@ sofabold.dk##.centerMgfx
|
||||
|
||||
!
|
||||
!#if env_mobile
|
||||
!#include NorwegianExperimentalList%20alternate%20versions/NordicFilters-FirefoxAndroidUBOWorkaround.txt
|
||||
!#include NordicFilters-FirefoxAndroidUBOWorkaround.txt
|
||||
!#endif
|
||||
|
||||
!
|
||||
!#if env_chromium
|
||||
!#if env_safari
|
||||
!+ NOT_OPTIMIZED
|
||||
!#include NorwegianExperimentalList%20alternate%20versions/NordicFilters-NotFirefox.txt
|
||||
!#include NordicFilters-NotFirefox.txt
|
||||
!#endif
|
||||
!#endif
|
||||
|
||||
|
||||
@@ -159,6 +159,12 @@ def prepare_ag(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^!#include NorwegianExperimentalList%20alternate%20versions/",
|
||||
r"!#include ",
|
||||
line
|
||||
)
|
||||
|
||||
text += line + '\r\n'
|
||||
|
||||
return text
|
||||
@@ -1674,6 +1680,12 @@ def prepare_privacy(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^!#include NorwegianExperimentalList%20alternate%20versions/",
|
||||
r"!#include ",
|
||||
line
|
||||
)
|
||||
|
||||
text += line + '\r\n'
|
||||
|
||||
return text
|
||||
@@ -2683,7 +2695,7 @@ def prepare_abp(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^[a-z0-9^|.$=-]{1,5}$",
|
||||
r"^[a-z0-9^|.$:/=-]{1,5}$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user