I tried the codes abovecode in previous answers, but they did not work for me. So here is my JSJavaScript code for reconnecting.
let interval = setInterval(function(){ let ok = document.getElementById('ok'); if(ok != null){ console.log("Connect pushed"); ok.click(); }},60000) You can use it with the same way (run it on the console of your browser) to run it. If
If you want to stop the script, you can enter clearInterval(interval) and want to run again setInterval(interval).
I hope this helps you.