Zmień adres URL z JavaScript po 5 sekundach

window.setTimeout(function(){
    window.location.href = "https://www.google.co.in";
}, 5000);
Haribo27