JS 模拟浏览器 F5 自动刷新页面效果 (记录)

1
2
3
4
5
6
7
8
9
10
11
1. window.location.replace(window.location.href);

2. window.location.href = window.location.href;

3. window.document.location.reload();

4. window.top.document.location.reload();

5.window.top.document.location = “url”

6.window.document.location. = “url”

JS 模拟浏览器 F5 自动刷新页面效果 (记录)
http://yoursite.com/post/ce4dac3f.html/
Author
Chase Wang
Posted on
September 16, 2019
Licensed under