The rule removed appears to me to be way to broad, both in it's converted and original form (`"(?:%3F)?[a-z]?mc",`), so I have excluded it completely.
This commit is contained in:
iam-py-test
2025-02-11 15:27:32 +00:00
committed by GitHub
parent 26dd7705b0
commit 8f6b8fb372
+4 -2
View File
@@ -34,7 +34,7 @@ HEAD = """\
! Homepage: https://github.com/DandelionSprout/adfilt/discussions/163
! Description: Want to use ClearURLs' tracking protection without installing another extension? This list is a (unofficial) version of the ClearURLs rules, designed for use in uBlock Origin and AdGuard. This ONLY includes the URL parameter removal functionality from ClearURLs, and not the other functions.
! Last updated: {date}
! Script last updated: 25/6/2024
! Script last updated: 2025-2-11
! Expires: 1 day
! Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Warning: This list may break websites, and contains many problematic rules. Worse, it may even prevent other filterlists from working. There is not much the Adfilt maintainers can do, as this list is just the ClearURLs rules converted into a uBo/AdGuard filterlist. Use with caution.
@@ -96,6 +96,8 @@ KNOWN_BAD_FILTERS = [
"||bing.*^$removeparam=cvid",
# https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-9855948
"||reddit.com^$removeparam=rdt",
# https://github.com/DandelionSprout/adfilt/issues/1089
"$removeparam=/^[a-z]?mc=/",
]
ALLOWLIST = """
@@ -244,7 +246,7 @@ def main() -> int:
print("No change in rules. Exiting...")
sys.exit()
filterlist = open("clear_urls_uboified.txt", "w")
filterlist.write(HEAD.format(date=date.today().strftime("%d/%m/%Y")))
filterlist.write(HEAD.format(date=date.today().strftime("%Y-%m-%d")))
# TODO: referralMarketing
providers = {