如何在Chrome开发人员工具中禁用JavaScript [英] How to disable JavaScript in chrome developer tools
本文介绍了如何在Chrome开发人员工具中禁用JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在用户禁用JavaScript时调试网站的功能。我想知道如何从谷歌浏览器开发工具中禁用JavaScript页面?
点击 Developer
菜单在开发工具的角落,单击设置,然后选中禁用Javascript
。 自此答案以来Chrome已经更新。您现在需要点击右上角的⋮按钮,然后点击设置(F1) - >调试器 - >禁用JavaScript以获得此选项。
I am trying to debug features of a website when users disable their JavaScript. I was wondering how do you disable JavaScript for a page from the Google Chrome devtools?
解决方案
Click the ⋮
menu in the corner of the Developer Tools, click Settings, then check Disable Javascript
.
Chrome has been updated since this answer. You now need to hit the ⋮ button in the top right corner, then "Settings (F1) -> Debugger -> Disable JavaScript" to get to this option.
这篇关于如何在Chrome开发人员工具中禁用JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文