diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 068cca6..2135b66 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -42,7 +42,7 @@ try: except Exception as exc: pass -CONST_APP_VERSION = "MaxBot (2024.03.06)" +CONST_APP_VERSION = "MaxBot (2024.03.07)" CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt" CONST_MAXBOT_CONFIG_FILE = "settings.json" diff --git a/config_launcher.py b/config_launcher.py index 0c95b21..9529c92 100644 --- a/config_launcher.py +++ b/config_launcher.py @@ -23,7 +23,7 @@ import sys import threading import webbrowser -CONST_APP_VERSION = "MaxBot (2024.03.06)" +CONST_APP_VERSION = "MaxBot (2024.03.07)" CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json" CONST_MAXBOT_CONFIG_FILE = "settings.json" diff --git a/kktix_status.py b/kktix_status.py index 4bef13c..05ebfc4 100644 --- a/kktix_status.py +++ b/kktix_status.py @@ -29,7 +29,7 @@ from datetime import datetime import requests -CONST_APP_VERSION = "MaxBot (2024.03.06)" +CONST_APP_VERSION = "MaxBot (2024.03.07)" CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_KKTIX_CONFIG_FILE = "kktix.json" diff --git a/settings.py b/settings.py index b8574c4..d541de6 100644 --- a/settings.py +++ b/settings.py @@ -50,7 +50,7 @@ try: except Exception as exc: pass -CONST_APP_VERSION = "MaxBot (2024.03.06)" +CONST_APP_VERSION = "MaxBot (2024.03.07)" CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt" CONST_MAXBOT_CONFIG_FILE = "settings.json" diff --git a/webdriver/Maxbotplus_1.0.0/js/cityline_msg_front.js b/webdriver/Maxbotplus_1.0.0/js/cityline_msg_front.js index b5220c5..eb95392 100644 --- a/webdriver/Maxbotplus_1.0.0/js/cityline_msg_front.js +++ b/webdriver/Maxbotplus_1.0.0/js/cityline_msg_front.js @@ -15,14 +15,17 @@ function begin() } // too short to cause error. - if(auto_reload_page_interval < 0.3) { - auto_reload_page_interval = 0.3; + if(auto_reload_page_interval < 0.6) { + auto_reload_page_interval = 0.6; } if(status=='ON') { + let target_interval = auto_reload_page_interval * 1000; setInterval(() => { - retry(); - }, auto_reload_page_interval * 1000); + //retry(); + //console.log("trigger"); + $(".btn_cta").prop('disabled', false).trigger("click"); + }, target_interval); } } diff --git a/webdriver/Maxbotplus_1.0.0/manifest.json b/webdriver/Maxbotplus_1.0.0/manifest.json index 22767ff..e5c93bb 100644 --- a/webdriver/Maxbotplus_1.0.0/manifest.json +++ b/webdriver/Maxbotplus_1.0.0/manifest.json @@ -413,5 +413,5 @@ ] } ], - "version": "1.0.14" + "version": "1.0.15" } \ No newline at end of file