mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-15 22:08:07 +00:00
Add files via upload
This commit is contained in:
1 parent
b809bad3c4
commit
62aa0ff2fa
2 files changed
+28
-7454
No files matched your search
@@ -835,13 +835,27 @@ def prepare_agh(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^! .* Adblock Plus($| .*)",
|
||||
r"^!.* Adblock Plus($| .*)",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^! .*CSS.*",
|
||||
r"^!.*CSS.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^!.*JS.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
# $badfilter-ed entries, as Sublime Text kept complaining about "Ran out of stack space" when I tried to semi-automate it with RegEx.
|
||||
|
||||
line = re.sub(
|
||||
r"^(/adblockpopup\.|/ads\.css|/propads\.|\|\|amgload\.net\^|\|\|desbloqueador\.org\^|\|\|down-paradise\.com\^|\|\|embed\.mystream\.to\^|\|\|fast\.io\^|\|\|fastcontentdelivery\.com\^|\|\|freeadultcomix\.com\^|\|\|hydrax\.net\^|\|\|imfast\.io\^|\|\|klclick\.com\^|\|\|leechpremium\.link\^|\|\|pepsia\.com\^|\|\|piguiqproxy\.com\^|\|\|player-cdn\.com\^|\|\|playhydrax\.com\^|\|\|rcdn\.pro\^|\|\|realfinanceblogcenter\.com\^|\|\|redirect-ads\.com\^|\|\|rule34hentai\.net\^|\|\|shoosh\.co\^|\|\|taobao\.com\^|\|\|template-help\.com\^|\|\|uptodatefinishconferenceroom\.com\^|\|\|wpnrtnmrewunrtok\.xyz\^|\|\|zenaps\.com\^|\|\|zzz\.pissrip\.net\^)(\$badfilter)?$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user