xxxxxxxxxx
<script>
window.setInterval('refresh()', 10000);
// Call a function every 10000 milliseconds
// (OR 10 seconds).
// Refresh or reload page.
function refresh() {
window .location.reload();
}
</script>
xxxxxxxxxx
let seconds = 1 // Repeat every 1 second.
setInterval(function() {
window.location.reload(1)
},seconds/1000)