返回

location.href

()后页面自动跳转......

还有一种方法变量初始值为0,使用num++,setInterval每秒刷新管计数,setTimeout五秒后调用函数跳转页面。详情参见代码注释。