Javascript Chrome 控制台显示“导航到 http://localhost....”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28349285/
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-08-23 01:38:46  来源:igfitidea点击:

Chrome console shows me "Navigated to http://localhost...."

javascriptgoogle-chromeconsolegoogle-chrome-devtoolsconsole.log

提问by lucasgabmoreno

Chrome console shows me "Navigated to http://localhost...." in blue letters

Chrome 控制台以蓝色字母显示“导航到http://localhost....”

Image: enter image description here

图片: 在此处输入图片说明

回答by skrawler

This is a feature on chrome to separate between page logs, when you have the "preserve logs" option checked. It shouldn't show up if you uncheck that box and reload the page.

当您选中“保留日志”选项时,这是 chrome 上的一项功能,用于在页面日志之间进行分隔。如果您取消选中该框并重新加载页面,它不应显示。

It's just telling you that the browser change to another page.

它只是告诉您浏览器切换到另一个页面。