Javascript 页面刷新的实现代码收藏

1
2
3
4
5
6
7
8
history.go(0)
location.reload()
location=location
location.assign(location)
document.execCommand('Refresh')
window.navigate(location)
location.replace(location)
document.URL=location.href
05-06 21:32