add more adblock plus filters for hkticketing

master
Max 2023-10-12 14:27:17 +08:00 committed by GitHub
parent e2d60fc9cf
commit 4c41327c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

View File

@ -35,7 +35,7 @@ import ssl
ssl._create_default_https_context = ssl._create_unverified_context ssl._create_default_https_context = ssl._create_unverified_context
CONST_APP_VERSION = "MaxBot (2023.09.15)" CONST_APP_VERSION = "MaxBot (2023.09.16)"
CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_CONFIG_FILE = "settings.json"
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt" CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
@ -52,15 +52,20 @@ CONST_RANDOM = u"random"
CONST_SELECT_ORDER_DEFAULT = CONST_FROM_TOP_TO_BOTTOM CONST_SELECT_ORDER_DEFAULT = CONST_FROM_TOP_TO_BOTTOM
CONST_SELECT_OPTIONS_DEFAULT = (CONST_FROM_TOP_TO_BOTTOM, CONST_FROM_BOTTOM_TO_TOP, CONST_RANDOM) CONST_SELECT_OPTIONS_DEFAULT = (CONST_FROM_TOP_TO_BOTTOM, CONST_FROM_BOTTOM_TO_TOP, CONST_RANDOM)
CONST_ADBLOCK_PLUS_ADVANCED_FILTER_DEFAULT = '''tixcraft.com###topAlert CONST_ADBLOCK_PLUS_ADVANCED_FILTER_DEFAULT = '''tixcraft.com###topAlert
tixcraft.com##.col-md-7.col-xs-12.mgt-16.text-center
tixcraft.com##.col-md-7.col-xs-12.mgt-16.mx-auto tixcraft.com##.col-md-7.col-xs-12.mgt-16.mx-auto
tixcraft.com##.topBar.alert-box.emergency tixcraft.com##.col-md-7.col-xs-12.mgt-16.text-center
tixcraft.com##.footer.clearfix tixcraft.com##.footer.clearfix
tixcraft.com##.page-info.row.line-btm.mg-0 tixcraft.com##.page-info.row.line-btm.mg-0
tixcraft.com##.row.justify-content-start.navbar-location tixcraft.com##.row.justify-content-start.navbar-location
tixcraft.com##.topBar.alert-box.emergency
||facebook.com/plugins/share_button.php
||google-analytics.com^
||googletagmanager.com^
||googletagservices.com^ ||googletagservices.com^
||www.google-analytics.com^ ||play.google.com^
||www.googletagmanager.com^ ||player.youku.com^
||twitter.com^
||youtube.com/iframe_api^
''' '''
CONST_CAPTCHA_SOUND_FILENAME_DEFAULT = "ding-dong.wav" CONST_CAPTCHA_SOUND_FILENAME_DEFAULT = "ding-dong.wav"
CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com" CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com"