• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Techbout

Technology Simplified.

  • iOS
  • Windows
  • Mac
  • Internet

How to Enable or Disable JavaScript In Google Chrome

By: Sam Patwegar | September 22, 2024

While Google Chrome makes it really easy to enable and disable JavaScript, you need to be aware that most websites use JavaScript programming to display menus, sharing buttons and other interactive elements.

Hence, disabling JavaScript in Chrome can result in broken menus, blank images, inability to login, inability to post comments and loss of other interactive functions.

You can test this by disabling JavaScript in Google Chrome and visiting, Facebook, Gmail and other Social Media apps that are known to rely on JavaScript to power interactive features on their websites.

Enable or Disable JavaScript in Google Chrome

While JavaScript programming is used by websites to build interactive features, it can also be used to serve intrusive ads, signup forms and other obnoxious forms of overt and covert online behavior. Also, there have been well publicized instances of browser vulnerabilities being exploited by hackers using JavaScript.

Advertisement

However, modern web browsers like Google Chrome have been quick in releasing security patches to block known and reported security holes in JavaScript engines. Also, the problem of intrusive advertising has been addressed by Google in Chrome browser by blocking intrusive pop-up Ads.

Hence, the only valid reason for blocking JavaScript would be in case of an ongoing JavaScript vulnerability being reported in the media or while visiting certain websites that are suspect or known to misuse JavaScript.

1. Steps to Disable JavaScript in Chrome Browser

If you come across a JavaScript vulnerability being reported, you can disable JavaScript in the Google Chrome browser installed on your computer by using the following steps.

1. Open Chrome browser > click on 3-dots menu icon and select Settings in the drop-down menu.

Open Google Chrome Settings

2. On the Settings screen, click Privacy & Security in the left-pane and click on Site Settings tab in the right-pane.

Site Settings Option in Chrome Browser

3. On the Site Settings screen, scroll down and click on JavaScript > On the next screen, select Don’t allow sites to use JavaScript option.

Don't allow sites to use JavaScript option in Google Chrome

4. Restart Chrome browser to apply the above change.

As mentioned above, most popular browsers immediately release updates to patch up security holes. Hence, make sure that you Update Google Chrome and Enable JavaScript, in order to enjoy the full functionality of your favorite websites.

2. Disable JavaScript For Specific Websites in Google Chrome

If you do not trust certain websites, you can disable JavaScript specifically for those websites, while allowing JavaScript for all other websites on your computer.

1. Open Chrome browser > click on 3-dots menu icon and select Settings in the drop-down menu.

Open Google Chrome Settings

2. On Settings screen, click Privacy & Security in the left-pane and click on Site Settings tab in the right-pane.

3. On Site Settings screen, scroll down and click on JavaScript > On the next screen, select Sites can use JavaScript option.

Sites Can Use JavaScript Option in Google Chrome

4. On the same screen, scroll down a bit and click on the ADD button next to Not Allowed to use JavaScript entry.

Add Sites Not Allowed to use JavaScript Option in Google Chrome

5. On the next screen, type URL of the website for which you want to Enable JavaScript and click on the ADD button.

Add Websites to Chrome Browser

6. Restart the browser to implement this change on your computer.

3. Steps to Enable JavaScript in Google Chrome

The steps to Enable JavaScript in Google Chrome are the same on Mac, Windows computers and Chromebook.

1. Open Google Chrome browser > click on 3-dots menu icon and select Settings in the drop-down menu.

Open Google Chrome Settings

2. On the Settings screen, click on Privacy & Security tab in the left-pane. In the right-pane, click on Site Settings.

Site Settings Option in Chrome Browser

3. On the Site Settings screen, scroll down and click on JavaScript > On the next screen, select Sites can use JavaScript option.

Sites Can Use JavaScript Option in Google Chrome

4. Restart the browser to apply the above changes on your computer.

4. Enable JavaScript For Specific Websites in Google Chrome

The other option is to Enable JavaScript for specific websites, while blocking JavaScript for all other websites.

1. Open Google Chrome browser > click on 3-dots menu icon and select Settings in the drop-down menu.

Open Google Chrome Settings

2. On the Settings screen, click on Privacy & Security tab in the left-pane. In the right-pane, click on Site Settings.

Site Settings Option in Chrome Browser

3. On the Site Settings screen, scroll down and click on JavaScript > On the next screen, select Don’t allow sites to use JavaScript option.

Don't allow sites to use JavaScript option in Google Chrome

4. On the same screen, scroll down a bit and click on the ADD button located next to Allowed to use JavaScript entry.

Allow Specific Websites to Use JavaScript Option in Google Chrome

5. On the next screen, type URL of the website for which you want to Enable JavaScript and click on the ADD button.

Add Websites to Chrome Browser

6. Restart the browser to implement this change on your computer.

Sam Patwegar

10+ years experience in writing fluff-free troubleshooting guides with just the right and required amount of related information. Equally capable of In-depth technical writing.

Related
  • Fix: “Disk Full” Chrome Download Error
  • How to Stop Facebook From Sharing Your Personal Data
  • How to Stop Google Chrome From Saving Passwords

Primary Sidebar

Advertisement

Recent Posts

  • Fix: System Tray Icon Missing in Windows 11/10
  • How to Use Internet Explorer in Windows 11
  • Fix: Cast to Device Not Working in Windows 11/10
  • Fix: MacBook Camera Not Working Issue
  • Multiple Ways to Disable Face ID on iPhone

Advertisement

© 2025 Techbout.com · All Rights Reserved
About | Privacy Policy | Terms | Contact
Twitter(X) | Facebook