Skip to content

Commit

Permalink
2024-03-18, change default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 1, 2024
1 parent d76f6d8 commit 9db9073
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/cityline_event_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ var fillEventData = function(data) {
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
3 changes: 3 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/cityline_msg_front.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ function begin()
}

if(status=='ON') {
const rootElement = document.documentElement;
rootElement.remove();

let target_interval = auto_reload_page_interval * 1000;
setInterval(() => {
//retry();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/hkticketing_queue_front.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ function begin()
}

if(status=='ON') {
const rootElement = document.documentElement;
rootElement.remove();
setInterval(() => {
busyFor = 0;
reload();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/ibon_area.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function ibon_area_main() {
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/ibon_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ function ibon_detail_ajax_done(game_info)
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ function kktix_ajax_return_register_info(register_info)
}
const rootElement = document.documentElement;
rootElement.remove();
delete window;
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/ticketplus_order.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ function ajax_return_done(data, real_event_id, real_session_id) {
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/tixcraft_area.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ function area_auto_reload()
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down
2 changes: 2 additions & 0 deletions webdriver/Maxbotplus_1.0.0/js/tixcraft_game.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function date_auto_reload()
if(settings) {
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
}
const rootElement = document.documentElement;
rootElement.remove();
if(auto_reload_page_interval == 0) {
//console.log('Start to reload now.');
location.reload();
Expand Down

0 comments on commit 9db9073

Please sign in to comment.