How to Disable JavaScript in Google Chrome

(If you are also a Firefox user, you can check how to disable JavaScript in Firefox too.)

The most basic HTML websites do not make use of any type of scripts such as JavaScript, since the only thing they do is to display static -unchanging- content, without any fancy features. However, the majority of websites including the most visited websites that we are using on a daily basis today utilize JavaScript to deliver their content, their interface, tools and the best user experience to the visitors.

JavaScript is commonly used for various tasks like page redirects, file downloads, page refreshes, cookies, alerts, notifications, timers, image galleries, navigation menus, web forms and more. Without JS enabled, you will not be able to use some of your frequently used websites such as Facebook, Google, YouTube, Twitter or Pinterest fluently or at all.

While JavaScript is a required technology for most of the websites to display and function properly, some webmasters really overdo the use of scripts on their websites, which is a bad web design practice, and annoy their visitors to the level that they hit the close button the moment they land on the site. I am pretty sure you have visited some websites on which many annoying pop up ads and notifications were displayed, forced redirections or page refreshing were in place, and sometimes it was so bad that it caused your browser to get stuck and you had to close and restart it.

To avoid the headaches such websites may cause, to temporarily prevent scripts on websites you will visit, or to test your website and web application projects, you may need to disable JavaScript in Chrome. I will explain how to do that in the next section.

You may also find the following Chrome tips to be useful:
Duplicate a Web Page in Chrome
How to Close Other Tabs in Google Chrome
List of Chrome Keyboard Shortcuts
12 Must-Have Chrome Extensions for Web Developers
How to Uninstall Chrome

How to Disable JavaScript in Chrome Browser

Unlike Firefox, which requires the use of an addon to disable JavaScript, Chrome has a built-in option to do this task. Therefore, you won't need to install any third party extensions to your browser.

STEP 1: Click on the Customize and control Google Chrome menu icon at the top right corner and select Settings from the dropdown menu.

How to Disable JavaScript in Google Chrome - 1

This will open the Settings panel where you can control and adjust anything about Chrome.

STEP 2: Scroll down to the bottom of the page and click the Show advanced settings... link.

How to Disable JavaScript in Google Chrome - 2

This will extend the Settings page by adding many more options about privacy, web content, network, languages and downloads.

STEP 3: In the Privacy section of the advanced settings, click the Content settings... button.

How to Disable JavaScript in Google Chrome - 3

This will open the Content Settings popup window where you will find many more options about cookies, images, scripts, plugins, popups, notifications, microphone, camera and other browser related things.

STEP 4: Find JavaScript section among the content settings and select Do not allow any site to run JavaScript option. Then, click the Done button at the bottom right corner of the Content Settings popup window.

How to Disable JavaScript in Google Chrome - 4

The settings will be saved, i.e. you don't need to do anything else, you can close the Settings page now. This will disable JavaScript on any websites you will visit from this point forward.

You can also allow or block JavaScript on websites manually, using the Manage exceptions... button. For example, you can select Do not allow any site to run JavaScript option and then on the JavaScript exceptions screen, allow your most frequently visited websites to run JS. Or, vice versa, you can allow JS to run on all sites by default and block it from running on specific sites.

How to Disable JavaScript in Google Chrome - 5

Remember that disabling JavaScript may make some certain features of some websites not to work, hence it is recommended to keep it allowed for all sites, unless you really need to block it for various reasons. For example some of the online tools that you might be using frequently such as email services, office tools, website builders, graphic design programs will most probably not work properly because such online software usually makes heavy use of JavaScript, which is a necessity for some features to work. Blocking JS scripts may also result in some of the keyboard shortcuts on your frequently visited websites not to work, and that annoying cookie notices to repeatedly show up.

Was this post helpful?

If you found this post to be helpful, please share it! Thank you :)

f t g+ in