页面刷新
- setimeout(()=>{ history.go(0) })
- location.reload()
- location=location
- location.assign(location)
- location.replace(location)
- location.href=location.href
页面跳转
- setTimeout('window.navigate("top.html");',2000);
- setTimeout('window.document.location.href="top.html";',2000);
- setTimeout('window.document.location="top.html";',2000);
- setTimeout('window.location.href="top.html";',2000);
- setTimeout('window.location="top.html";',2000);
- setTimeout('document.location.href="top.html";',2000);
- setTimeout('document.location="top.html";',2000);
- setTimeout('location.href="top.html";',2000);
- setTimeout('location.replace("top.html")',2000);