You are here: Home > Google Chrome Tutorial

How to disable JavaScript (NoJavaScript, NoScript) in Google Chrome?

March 10, 2010 06:27 PST

Posted by Andrew.

What is JavaScript?

JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites. Google Chrome uses V8 JavaScript Engine (an open source JavaScript engine developed by Google in Denmark). Logo: JavaScript

How to enable/disable JavaScript in Google Chrome?

However, JavaScript and the DOM provide the potential for malicious authors to deliver scripts to run on a client computer via the web. Some users want to disable JavaScript for security reason. In the old versions of Google Chrome, there is no way to disable/enable JavaScript in Google Chrome as you can do with other browsers by changing a simple setting in its Options dialog. We must add -disable-javascript parameter to Google Chrome shortcut by manual.

With the latest 4.1 Beta update, Chrome has been implemented more controls for JavaScript, plug-ins, cookies, etc. Now, you can directly enable/disable JavaScript in the Chrome Options dialog. To change this option, please follow the steps below:

  1. Click menu Tools -> Options.
  2. Click Under the Hood tab, then click Content settings button.
  3. Click JavaScript tab, there are three options:
  4. Screenshot: Chrome JavaScript Settings

    Screenshot: Chrome JavaScript Settings

    • All all sites to run JavaScript (recommended) - Enable JavaScript in Chrome.
    • Do not allow any site to run JavaScript - Disable JavaScript in Chrome.
    • Exceptions - add JavaScript a white list or black list.

    Screenshot: JavaScript Exceptions

    Screenshot: Chrome JavaScript Settings

  5. Click Close button

Note: JavaScript is commonly used by web developers to make their sites more interactive. If you choose to disable JavaScript, you may find that some sites don't work properly.

Other resource



#1  posted on March 15, 2010 16:51 PDT
hi, i found every button except the content settings button in the under the hood tab?? can u please clarify that?

thankyou
replied on March 15, 2010 17:58 PDT:
Hello, could you tell me the version of your Chrome?

#2  posted on October 10, 2010 23:49 PDT
Is there a short cut key for disable/ enable javascript in Chrome?

#3  posted on October 25, 2010 22:11 PDT
Hi, I've checked my content setting in Under The Hood tab. Allow all sites to run JavaScript (recommended) is the selection. But I still found that the realtime data of http://www.hsi.com.hk/HSI-Net/ can't be loaded properly.

It was working fine all the while since I've installed Chrome 3 weeks ago. But the page can't load properly since yesterday and I wonder if it is related to the Java script. Please advise, thanks.

#4  posted on October 06, 2011 03:57 PDT
This Chrome extension (Quick Javascript Switcher) do that : https://github.com/maximelebreton/quick-javascript-switcher

#5  posted on August 24, 2012 19:26 PDT
This feature is not available anymore in the latest Google Chrome.

#6  posted on August 13, 2013 20:03 PDT
hi, i found every button except the content settings button in the under the hood tab?? can u please clarify that? - See more at: http://www.chromefans.org/chrome-tutorial/how-to-disable-javascript-nojavascript-noscript-in-google-chrome.htm#sthash.00yvdyln.dpuf

#7  posted on October 31, 2013 17:17 PDT
Is there a short cut key for disable/ enable javascript in Chrome?

Leave your comment
If you want to leave your comment on this article, simply fill out the next form:
Name: * Requirement
E-mail: Optional (won't be published)
Website / Blog: Optional
Are you a human? For anti spammer, please calculate following expression:
6 x 4 + 1 = * Requirement
Comment:
* Requirement
You can use these tags:
[b] Text [/b]: Bold text
[quote] Text [/quote]: Quote text