mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-06 08:54:53 +01:00
Fix #230
This commit is contained in:
@@ -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