Süreli için aşağıdakini kullanabilirsiniz.




<script>
yonlenecek_adresler = "http://www.google.com/1,http://www.google.com/2,http://www.google.com/3";
sure = 5;
adresler = yonlenecek_adresler.split(",");
console.log(adresler.length)
adres = adresler[Math.floor(Math.random()*adresler.length)];
setInterval(function(){
document.getElementById('sure').innerHTML = sure+" Saniye İçerisinde Yönlendirileceksiniz...";
sure--;
if (sure == 0) {
window.location.replace(adres);
};
},1000)
</script>


Kaynak: HTML sayfa yönlendirme