如何在Chrome开发者工具中禁用JavaScript? [英] How to disable JavaScript in Chrome Developer Tools?
本文介绍了如何在Chrome开发者工具中禁用JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户禁用JavaScript时,我正在尝试调试网站的功能。我想知道你如何禁用谷歌Chrome DevTools页面的JavaScript?
I am trying to debug the 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?
推荐答案
点击 Developer
开发者工具一角的菜单,点击设置,然后检查禁用Javascript
。
Click the ⋮
menu in the corner of the Developer Tools, click Settings, then check Disable Javascript
.
自此答案后,Chrome已更新。您现在需要点击右上角的⋮按钮,然后点击设置(F1) - >调试器 - >禁用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屋!
查看全文