几秒后跳转到新页面

function myrefresh()
{
       window.location.reload();
}
setTimeout('myrefresh()',1000); //指定1秒刷新一次

原文地址:https://www.cnblogs.com/wonder2636/p/5790595.html