如何在 Chrome 开发者工具中禁用 JavaScript? [英] How to disable JavaScript in Chrome Developer Tools?

查看:37
本文介绍了如何在 Chrome 开发者工具中禁用 JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在用户禁用 JavaScript 时调试网站的功能.我想知道如何从 Google 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?

推荐答案

点击开发者工具一角的齿轮图标,点击Settings,然后在Debugger,勾选Disable Javascript,如下视频所示:

Click the gear icon in the corner of the Developer Tools, click Settings, then under Debugger, check Disable Javascript, as shown in the following video:

这篇关于如何在 Chrome 开发者工具中禁用 JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆