2024-03-18, change default values
parent
d76f6d8161
commit
9db9073faa
|
@ -82,6 +82,8 @@ var fillEventData = function(data) {
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -90,6 +90,9 @@ function begin()
|
||||||
}
|
}
|
||||||
|
|
||||||
if(status=='ON') {
|
if(status=='ON') {
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
|
|
||||||
let target_interval = auto_reload_page_interval * 1000;
|
let target_interval = auto_reload_page_interval * 1000;
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
//retry();
|
//retry();
|
||||||
|
|
|
@ -19,6 +19,8 @@ function begin()
|
||||||
}
|
}
|
||||||
|
|
||||||
if(status=='ON') {
|
if(status=='ON') {
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
busyFor = 0;
|
busyFor = 0;
|
||||||
reload();
|
reload();
|
||||||
|
|
|
@ -122,6 +122,8 @@ function ibon_area_main() {
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -84,6 +84,8 @@ function ibon_detail_ajax_done(game_info)
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -95,7 +95,6 @@ function kktix_ajax_return_register_info(register_info)
|
||||||
}
|
}
|
||||||
const rootElement = document.documentElement;
|
const rootElement = document.documentElement;
|
||||||
rootElement.remove();
|
rootElement.remove();
|
||||||
delete window;
|
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -28,6 +28,8 @@ function ajax_return_done(data, real_event_id, real_session_id) {
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -124,6 +124,8 @@ function area_auto_reload()
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
|
@ -122,6 +122,8 @@ function date_auto_reload()
|
||||||
if(settings) {
|
if(settings) {
|
||||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||||
}
|
}
|
||||||
|
const rootElement = document.documentElement;
|
||||||
|
rootElement.remove();
|
||||||
if(auto_reload_page_interval == 0) {
|
if(auto_reload_page_interval == 0) {
|
||||||
//console.log('Start to reload now.');
|
//console.log('Start to reload now.');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
Loading…
Reference in New Issue