Ideas Portal

Chance Auto Update function in Webinterface

Hello there,
just use
function self_update(){
document.getElementsByClassName("header__content-holder__logo-area__refresh-button")[0].click();
setTimeout(function(){self_update();},60000);
}
instead of
(function(){function reloadSNOBoard(){document.querySelector("div.header__content-holder__refresh-button").click()}window.setInterval(function(){reloadSNOBoard()},60000)})()
 
because the second "Function" ends in some Error(s).
 
And integrate the update function in the "Website" so you don´t have to create a Link
  • Nico Ketzer
  • Oct 3 2019
  • Attach files