From dd53d0520989e1ed64786032a1c0b2b28d17b06a Mon Sep 17 00:00:00 2001 From: unknown <2303063@ad.nchc.org.tw> Date: Wed, 10 Jan 2024 10:58:03 +0800 Subject: [PATCH] 2023-01-02, update for MaxBot Plus extension. --- chrome_tixcraft.py | 17 ++-- config_launcher.py | 2 +- settings.py | 2 +- text_server.py | 2 +- webdriver/Maxbotplus_1.0.0/js/ibon_detail.js | 2 + webdriver/Maxbotplus_1.0.0/js/ibon_ticket.js | 65 ++++++++++++++ webdriver/Maxbotplus_1.0.0/js/kham_date.js | 3 + webdriver/Maxbotplus_1.0.0/js/kham_home.js | 5 ++ webdriver/Maxbotplus_1.0.0/js/kktix_home.js | 5 ++ webdriver/Maxbotplus_1.0.0/js/ticket_home.js | 2 + webdriver/Maxbotplus_1.0.0/manifest.json | 33 ++++++- webdriver/Maxbotplus_1.0.0/options.html | 9 ++ webdriver/Maxbotplus_1.0.0/options.js | 4 + webdriver/Maxbotplus_1.0.0/rules_1.json | 94 +++++++++++++------- 14 files changed, 201 insertions(+), 44 deletions(-) create mode 100644 webdriver/Maxbotplus_1.0.0/js/ibon_detail.js create mode 100644 webdriver/Maxbotplus_1.0.0/js/ibon_ticket.js create mode 100644 webdriver/Maxbotplus_1.0.0/js/kham_home.js create mode 100644 webdriver/Maxbotplus_1.0.0/js/kktix_home.js create mode 100644 webdriver/Maxbotplus_1.0.0/js/ticket_home.js diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 97e5b86..d8e40e8 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -54,7 +54,7 @@ import webbrowser import chromedriver_autoinstaller -CONST_APP_VERSION = "MaxBot (2024.01.01)" +CONST_APP_VERSION = "MaxBot (2024.01.02)" CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt" @@ -871,6 +871,7 @@ def get_driver_by_config(config_dict): ,'*googletagservices.*' ,'*play.google.com/*' ,'*.googlesyndication.com/*' + ,'*cdn.cookielaw.org/*' ,'*fundingchoicesmessages.google.com/*' ,'*.doubleclick.net/*' ,'*.rollbar.com/*' @@ -8141,7 +8142,8 @@ def urbtix_main(driver, url, config_dict): pass pass # 刷太快, 會被封IP? - time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) + if config_dict["advanced"]["auto_reload_page_interval"] > 0: + time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) if '/logout?' in url: try: @@ -8253,7 +8255,8 @@ def cityline_auto_retry_access(driver, config_dict): pass # 刷太快, 會被封IP? - time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) + if config_dict["advanced"]["auto_reload_page_interval"] > 0: + time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) def cityline_go_venue(driver, url): url_https = url.replace("http://","https://") @@ -8638,7 +8641,7 @@ def ibon_captcha(driver, config_dict, ocr, Captcha_Browser, model_name): is_captcha_sent = False previous_answer = None last_url, is_quit_bot = get_current_url(driver) - for redo_ocr in range(999): + for redo_ocr in range(19): is_need_redo_ocr, previous_answer, is_form_sumbited = ibon_auto_ocr(driver, config_dict, ocr, away_from_keyboard_enable, previous_answer, Captcha_Browser, ocr_captcha_image_source, model_name) # TODO: must ensure the answer is corrent... @@ -9613,7 +9616,8 @@ def hkticketing_url_redirect(driver, url, config_dict): pass # 刷太快, 會被封IP? - time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) + if config_dict["advanced"]["auto_reload_page_interval"] > 0: + time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) if is_redirected: break @@ -9695,7 +9699,8 @@ def hkticketing_content_refresh(driver, url, config_dict): pass # 刷太快, 會被封IP? - time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) + if config_dict["advanced"]["auto_reload_page_interval"] > 0: + time.sleep(config_dict["advanced"]["auto_reload_page_interval"]) return is_redirected diff --git a/config_launcher.py b/config_launcher.py index f5a1a45..b9c8337 100644 --- a/config_launcher.py +++ b/config_launcher.py @@ -22,7 +22,7 @@ import sys import threading import webbrowser -CONST_APP_VERSION = "MaxBot (2024.01.01)" +CONST_APP_VERSION = "MaxBot (2024.01.02)" CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json" CONST_MAXBOT_CONFIG_FILE = "settings.json" diff --git a/settings.py b/settings.py index c51da42..335657c 100644 --- a/settings.py +++ b/settings.py @@ -34,7 +34,7 @@ import ssl ssl._create_default_https_context = ssl._create_unverified_context -CONST_APP_VERSION = "MaxBot (2024.01.01)" +CONST_APP_VERSION = "MaxBot (2024.01.02)" CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt" diff --git a/text_server.py b/text_server.py index 468e315..8750b0d 100644 --- a/text_server.py +++ b/text_server.py @@ -27,7 +27,7 @@ import pyperclip import tornado from tornado.web import Application -CONST_APP_VERSION = "MaxBot (2024.01.01)" +CONST_APP_VERSION = "MaxBot (2024.01.02)" CONST_MAXBOT_QUESTION_FILE = "MAXBOT_QUESTION.txt" diff --git a/webdriver/Maxbotplus_1.0.0/js/ibon_detail.js b/webdriver/Maxbotplus_1.0.0/js/ibon_detail.js new file mode 100644 index 0000000..780193b --- /dev/null +++ b/webdriver/Maxbotplus_1.0.0/js/ibon_detail.js @@ -0,0 +1,2 @@ +// TODO: ... +console.log("TODO: date auto click..."); \ No newline at end of file diff --git a/webdriver/Maxbotplus_1.0.0/js/ibon_ticket.js b/webdriver/Maxbotplus_1.0.0/js/ibon_ticket.js new file mode 100644 index 0000000..c59352f --- /dev/null +++ b/webdriver/Maxbotplus_1.0.0/js/ibon_ticket.js @@ -0,0 +1,65 @@ +const storage = chrome.storage.local; +var settings = null; + +$("footer").remove(); + +function assign_ticket_number(ticket_number) +{ + let $main_table = $("table.table"); + if ($main_table.length > 0) + { + console.log("found main table"); + let $ticket_options = $main_table.find("select:first option"); + if ($ticket_options.length) + { + let is_ticket_number_assign = false; + if (ticket_number > 0) + { + console.log("target ticket_number:"+ticket_number); + $ticket_options.each(function () + { + if ($(this).val() == ticket_number) + { + $(this).prop('selected', true); + is_ticket_number_assign = true; + return false; + } + } + ); + } + console.log("is_ticket_number_assign:"+is_ticket_number_assign); + if (!is_ticket_number_assign) + { + $ticket_options.last().prop('selected', true); + } + } + } +} + +function assign_adjacent_seat(flag) { + //console.log("disable_adjacent_seat flag:"+flag); + if(flag) { + $('input[type=checkbox]').each(function() { + $(this).prop('checked', true); + }); + } +} + +function focus_on_captcha() +{ + $("div.editor-box > div > input[type='text']").focus(); +} + +storage.get('settings', function (items) +{ + if (items.settings) + { + settings = items.settings; + //console.log("ticket_number:"+ settings.ticket_number); + assign_ticket_number(settings.ticket_number); + assign_adjacent_seat(settings.advanced.disable_adjacent_seat); + focus_on_captcha(); + } else { + console.log('no settings found'); + } +}); diff --git a/webdriver/Maxbotplus_1.0.0/js/kham_date.js b/webdriver/Maxbotplus_1.0.0/js/kham_date.js index cd8e975..6c96358 100644 --- a/webdriver/Maxbotplus_1.0.0/js/kham_date.js +++ b/webdriver/Maxbotplus_1.0.0/js/kham_date.js @@ -1,3 +1,6 @@ +$("div#DIV_REMARK").remove(); +$("div.footer").remove(); + $a_btn=$("#content").find("table.eventTABLE > tbody > tr > td > a > button[onclick]"); if($a_btn.length==1) { $a_btn.click(); diff --git a/webdriver/Maxbotplus_1.0.0/js/kham_home.js b/webdriver/Maxbotplus_1.0.0/js/kham_home.js new file mode 100644 index 0000000..28077bf --- /dev/null +++ b/webdriver/Maxbotplus_1.0.0/js/kham_home.js @@ -0,0 +1,5 @@ +$("div#dialog-message").remove(); +$("div#ad3").remove(); +$("div#buyTicket").remove(); +$("div#marquee").remove(); +$("div.footer").remove(); diff --git a/webdriver/Maxbotplus_1.0.0/js/kktix_home.js b/webdriver/Maxbotplus_1.0.0/js/kktix_home.js new file mode 100644 index 0000000..247e48f --- /dev/null +++ b/webdriver/Maxbotplus_1.0.0/js/kktix_home.js @@ -0,0 +1,5 @@ +$("div.headlines").remove(); +$("section.app-intro").remove(); +$("section.copywriting").remove(); +$("section.partner-venues").remove(); +$("footer").remove(); diff --git a/webdriver/Maxbotplus_1.0.0/js/ticket_home.js b/webdriver/Maxbotplus_1.0.0/js/ticket_home.js new file mode 100644 index 0000000..fd86a42 --- /dev/null +++ b/webdriver/Maxbotplus_1.0.0/js/ticket_home.js @@ -0,0 +1,2 @@ +$("#footer").remove(); +$("footer").remove(); diff --git a/webdriver/Maxbotplus_1.0.0/manifest.json b/webdriver/Maxbotplus_1.0.0/manifest.json index 789cf3d..c93d8b8 100644 --- a/webdriver/Maxbotplus_1.0.0/manifest.json +++ b/webdriver/Maxbotplus_1.0.0/manifest.json @@ -90,6 +90,11 @@ "run_at": "document_end", "js" : [ "jquery.min.js", "js/tixcraft_ticket.js" ] }, + { + "matches" : [ "https://ticket.com.tw/application/utk01/utk0101_.aspx" ], + "run_at": "document_end", + "js" : [ "jquery.min.js", "js/ticket_home.js" ] + }, { "matches" : [ "https://ticket.com.tw/application/UTK02/UTK0201_.aspx?PRODUCT_ID=*" ], "run_at": "document_end", @@ -107,6 +112,11 @@ "run_at": "document_end", "js" : [ "jquery.min.js", "js/common.js", "js/ticket_area.js" ] }, + { + "matches" : [ "https://kham.com.tw/application/utk01/UTK0101_03.aspx" ], + "run_at": "document_end", + "js" : [ "jquery.min.js", "js/kham_home.js" ] + }, { "matches" : [ "https://kham.com.tw/application/UTK02/UTK0201_.aspx?PRODUCT_ID=*" ], "run_at": "document_end", @@ -114,7 +124,9 @@ "js" : [ "jquery.min.js", "js/kham_event_home.js" ] }, { - "matches" : [ "https://kham.com.tw/application/UTK02/UTK0201_00.aspx?PRODUCT_ID=*" ], + "matches" : [ + "https://kham.com.tw/application/UTK02/UTK0201_00.aspx?PRODUCT_ID=*" + ], "run_at": "document_end", "world": "MAIN", "js" : [ "jquery.min.js", "js/kham_date.js" ] @@ -124,11 +136,21 @@ "run_at": "document_end", "js" : [ "jquery.min.js", "js/kham_area.js" ] }, + { + "matches" : [ "https://ticket.ibon.com.tw/ActivityInfo/Details/*" ], + "run_at": "document_end", + "js" : [ "jquery.min.js", "js/ibon_detail.js" ] + }, { "matches" : [ "https://orders.ibon.com.tw/application/UTK02/UTK0201_000.aspx?*" ], "run_at": "document_end", "js" : [ "jquery.min.js", "js/ibon_area.js" ] }, + { + "matches" : [ "https://orders.ibon.com.tw/application/UTK02/UTK0201_001.aspx?PERFORMANCE_ID=*PERFORMANCE_PRICE_AREA_ID=*" ], + "run_at": "document_end", + "js" : [ "jquery.min.js", "js/ibon_ticket.js" ] + }, { "matches" : [ "https://msg.cityline.com/*.html*" @@ -138,7 +160,7 @@ }, { "matches" : [ - "https://msg.cityline.com/*.html*" + "https://msg.cityline.com/*" ], "run_at": "document_end", "world": "MAIN", @@ -166,6 +188,13 @@ "run_at": "document_start", "js" : [ "jquery.min.js", "js/ticketplus_order.js"] }, + { + "matches" : [ + "https://kktix.com/" + ], + "run_at": "document_end", + "js" : [ "jquery.min.js", "js/kktix_home.js" ] + }, { "matches" : [ "https://*.kktix.cc/events/*" diff --git a/webdriver/Maxbotplus_1.0.0/options.html b/webdriver/Maxbotplus_1.0.0/options.html index 40c3c51..ea7bb82 100644 --- a/webdriver/Maxbotplus_1.0.0/options.html +++ b/webdriver/Maxbotplus_1.0.0/options.html @@ -67,6 +67,15 @@ +
+
+ + +
+
+
diff --git a/webdriver/Maxbotplus_1.0.0/options.js b/webdriver/Maxbotplus_1.0.0/options.js index de3de24..3035fd1 100644 --- a/webdriver/Maxbotplus_1.0.0/options.js +++ b/webdriver/Maxbotplus_1.0.0/options.js @@ -8,6 +8,8 @@ const area_select_mode = document.querySelector('#area_select_mode'); const area_keyword = document.querySelector('#area_keyword'); const keyword_exclude = document.querySelector('#keyword_exclude'); const auto_reload_page_interval = document.querySelector('#auto_reload_page_interval'); +const disable_adjacent_seat = document.querySelector('#disable_adjacent_seat'); + var settings = null; loadChanges(); @@ -30,6 +32,7 @@ async function saveChanges() settings.area_auto_select.area_keyword = area_keyword.value; settings.keyword_exclude = keyword_exclude.value; settings.advanced.auto_reload_page_interval = auto_reload_page_interval.value; + settings.advanced.disable_adjacent_seat = disable_adjacent_seat.checked; await storage.set( { @@ -57,6 +60,7 @@ function loadChanges() area_keyword.value = settings.area_auto_select.area_keyword; keyword_exclude.value = settings.keyword_exclude; auto_reload_page_interval.value = settings.advanced.auto_reload_page_interval; + disable_adjacent_seat.checked = settings.advanced.disable_adjacent_seat; //message('Loaded saved settings.'); } else { console.log('no settings found'); diff --git a/webdriver/Maxbotplus_1.0.0/rules_1.json b/webdriver/Maxbotplus_1.0.0/rules_1.json index 13a3a06..962ff0c 100644 --- a/webdriver/Maxbotplus_1.0.0/rules_1.json +++ b/webdriver/Maxbotplus_1.0.0/rules_1.json @@ -5,7 +5,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*google-analytics.com/*", - "resourceTypes": ["main_frame", "sub_frame"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -14,7 +14,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*googletagmanager.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -23,7 +23,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*googletagservices.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -32,7 +32,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*lndata.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -41,7 +41,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*a.amnet.tw/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -50,7 +50,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*ad.setn.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -59,7 +59,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*adx.c.appier.net/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -77,7 +77,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*clarity.ms/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -104,7 +104,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*doubleclick.net/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -113,7 +113,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*e2elog.fetnet.net/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -122,7 +122,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*fundingchoicesmessages.google.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -131,7 +131,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*ghtinc.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -140,7 +140,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*match.adsrvr.org/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -149,7 +149,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*onead.onevision.com.tw/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -158,7 +158,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*popin.cc/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -167,7 +167,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*rollbar.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -176,16 +176,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*sb.scorecardresearch.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] - } - }, - { - "id": 21, - "priority": 1, - "action": { "type": "block"}, - "condition": { - "urlFilter": "*t.ssp.hinet.net/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -194,7 +185,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*tagtoo.co/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -202,8 +193,8 @@ "priority": 1, "action": { "type": "block"}, "condition": { - "urlFilter": "*t.ssp.hinet.net/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "urlFilter": "*.ssp.hinet.net/*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -220,8 +211,8 @@ "priority": 1, "action": { "type": "block"}, "condition": { - "urlFilter": "*tpc.googlesyndication.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "urlFilter": "*.googlesyndication.com/*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -230,7 +221,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*treasuredata.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -239,7 +230,7 @@ "action": { "type": "block"}, "condition": { "urlFilter": "*ubas.setn.com/*", - "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] } }, { @@ -286,5 +277,42 @@ "urlFilter": "*img.uniicreative.com/*", "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] } + }, + { + "id": 33, + "priority": 1, + "action": { "type": "block"}, + "condition": { + "urlFilter": "*cdn.cookielaw.org/*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] + } + }, + { + "id": 34, + "priority": 1, + "action": { "type": "block"}, + "condition": { + "urlFilter": "*tixcraft.com/js/custom.js*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + } + }, + { + "id": 35, + "priority": 1, + "action": { "type": "block"}, + "condition": { + "urlFilter": "*tixcraft.com/js/common.js*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media"] + } + }, + { + "id": 36, + "priority": 1, + "action": { "type": "block"}, + "condition": { + "urlFilter": "*cdnjs.cloudflare.com/ajax/libs/clipboard.js/*", + "resourceTypes": ["main_frame", "sub_frame", "script", "image", "font", "xmlhttprequest", "media", "stylesheet"] + } } + ]