javascript wait 3 seconds then redirect code example
Example: javascript redirect after 5 secinds
setTimeout(function(){
window.location.href = 'https://url.com';
}, 5000);
setTimeout(function(){
window.location.href = 'https://url.com';
}, 5000);