How to Enable or Disable JavaScript in Chrome

Note: Tap or click the link if you want to do this task on Microsoft Edge or Mozilla Firefox.

In this post, you will see the steps to enable or disable JavaScript in Google Chrome.

In this case, I use Windows 10 PC and Android. Let’s get started.

How to Enable or Disable JavaScript in Chrome

PC

​Open the Google Chrome browser.

​Copy and paste the following in the Chrome address bar: chrome://settings/content/javascript.

Press the “Enter” key.

To disable:

​Disable the switch beside “Allowed (recommended).”

​To enable:

Activate the switch beside “Blocked.”

Read: How to Change Default Zoom in Chrome

Notes:

Click the “Add” button next to “Block” to add the site for which you want to block JavaScript for. Once JavaScript is enabled, you can use this option to block JavaScript for certain websites.

Click the “Add” button next to “Allow” to add the site for which you want to allow JavaScript. If JavaScript is disabled, you can use this option to allow JavaScript for certain websites.

Read: How to Enable Hardware Acceleration in Chrome

Android

​Open the Chrome app.

​Hit the three vertical dots at the top.

Tap “Settings.”

Click on “Site settings.”

​Tap “JavaScript” between “Notifications” and “Pop-ups and redirects.”

​Enable (to turn on) or disable (to turn off) the switch beside “JavaScript.”

Read: What Version of Chrome Do I Have

Notes:

Here you see “Add Site Exception.”. As the option name indicates, this one lets you add a site as an exception.

How it works:

If you have JavaScript enabled, this option will block JavaScript for the site you are adding.

If you have disabled JavaScript, this option allows JavaScript for the site you are adding.

To add a site:

Tap this option. Enter the site. Hit “Add.”

Read: How to Enable Chrome Dark Mode