Disabling JavaScript in chrome

I usually go to Chrome content settings. I usually go there to enable / disbale js in chrome. Which is too many clicks. Is there a shortcut to enable/disable JavaScript or access content settings.

PS: enabling it back once it is disabled is easy, as a icon is added to the address bar but disabling is the main culprit


Solution 1:

A simple way is to

  1. Open the console by pressing F12
  2. Click the hamburger icon on the right
  3. Go to "Settings"
  4. Under "General" check "Disable JavaScript"

Solution 2:

Since Chrome 16, there is an extension named Quick Javascript Switcher that turns Javascript on/off on the fly.

Solution 3:

If you're using Chrome on Windows then you can create a copy of your Chrome shortcut (rename it to Google Chrome no JS, for example). Right-click on it and select Properties. Add -disable-javascript to the end of the Target field. The end result should look something like this:

C:\Users\UserName\AppData\Local\Google\Chrome\Application\chrome.exe -disable-javascript

When you open Chrome using this shortcut then JavaScript is disabled