javascript Chrome 控制台:重新加载页面
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12516592/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 16:24:20 来源:igfitidea点击:
Chrome Console: reload page
提问by gozwei
Is there any way to reload chrome page (like clicking F5) from command line of chrome developer console?
有什么方法可以从 chrome 开发者控制台的命令行重新加载 chrome 页面(如单击 F5)?
I've tired searching but without effect...
我已经厌倦了搜索但没有效果......
回答by SLaks
location.reload()
That was easy...
那很简单...
回答by Kamil Kie?czewski
Try
尝试
history.go()
this is probably the shortest way
这可能是最短的方法