简体   繁体   English

打开控制台时如何不重新加载页面?

[英]How to not reload my page when I open up my console?

I created a script that reloads my page when I resize it. 我创建了一个脚本,当我调整页面大小时会重新加载页面。 However when I open up my console, Chrome considers that my page is resized, and reloads it. 但是,当我打开控制台时,Chrome会认为页面已调整大小并重新加载。

Is it possible to not reload my page when I open up my console? 打开控制台时是否可以不重新加载页面?

After opening the dev console Click the vertical ellipsis button ( ⋮ ) then undock the console. 打开开发人员控制台后,单击垂直省略号按钮(⋮),然后取消停放控制台。 After you can see what is going on with website. 之后,您可以查看网站的状况。

Here How to do it 这里怎么做

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何让我的密码提示只在我打开我的网站时出现一次,而不是每次我重新加载页面或重新访问它时出现 - How do I make my password prompt only show up once when I open up my website instead of every time I reload the page or revisit it 如何使我的页面可以关闭或重新加载,但当我再次打开页面时内容不会消失? - How do I make it so my page can close or reload but the content wont disappear when i open the page again? 打开页面时出现通知错误 - I get a notice error when I open up my page 在Webpack中更改所需模块之一后,如何重新加载页面? - How can I reload the page when I changed one of my required modules in Webpack? 为什么我的页面在重新加载时会向下滚动一点 - why is my page scrolling down a bit when I reload it 当我再次刷新页面时,从$ _POST插入数据 - When i reload my page again insert data from $_POST 倒数结束时,如何使计时器重新载入页面? - how can i make my timer to reload to page when the countdown ends? 当我在页面中间重新加载页面时,滚动的导航栏将恢复为默认值 - My scrolled navbar returns to default when I reload my page in the middle of the page 如何在不重新加载页面的情况下向我的 url 添加参数? - How can I add a parameter to my url, without reload the page? 当人们在我的网站上打开开发工具时,如何使自定义消息出现在控制台部分? - How can I make custom messages appear in the console section when people open dev tools on my site?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM