1<script>
2 window.setInterval('refresh()', 10000);
3 // Call a function every 10000 milliseconds
4 // (OR 10 seconds).
5
6 // Refresh or reload page.
7 function refresh() {
8 window .location.reload();
9 }
10</script>
1let seconds = 1 // Repeat every 1 second.
2setInterval(function() {
3 window.location.reload(1)
4},seconds/1000)