by Sai gowtham

Disable the JavaScript in Chrome browser

Disable the JavaScript in Chrome browser

In this tutorial, we are going to learn about how to disable JavaScript in a chrome browser with the help of dev tools.

Disabling JavaScript

  1. Right-click on your mouse and choose inspect option.

inspect

  1. Now press command+shift+p on mac or control+shift+p on windows to open the command menu.

chrome command menu

  1. Start typing javascript and use your arrow keys to select disable JavaScript option and hit enter.JavaScript is disabled.

disable javascript command

Now you can test, how your website is behaving without a JavaScript.

Enabling JavaScript

JavaScript is disabled as long as dev tools are open in that tab.

If you want to re-enable the JavaScript.Type enable JavaScript on the command menu and hit enter.

enable javascript

Top Udemy Courses

JavaScript - The Complete Guide 2020 (Beginner + Advanced)
JavaScript - The Complete Guide 2020 (Beginner + Advanced)
26,545 students enrolled
52 hours of video content
View Course
React - The Complete Guide (incl Hooks, React Router, Redux)
React - The Complete Guide (incl Hooks, React Router, Redux)
221,520 students enrolled
44 hours of video content
View Course
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
114,575 students enrolled
21 hours of video content
View Course