How can I reboot and redirect with a timer?
Answer 1, Authority 100%
every five seconds will be rebooting the page:
settimeout (function () {
document.location.href = document.location;
}, 5000);
for redirect – specify the address:
settimeout (function () {
document.location.href = 'http://hashcode.ru/';
}, 5000);