How to Enable or Disable JavaScript in Chrome

In this post you will see the steps to enable or disable JavaScript in Google Chrome, Mozilla Firefox, Microsoft Edge and Safari (iPhone). Let’s get started.

How to disable or enable JavaScript in Chrome

Windows 10 PC

Open the Google Chrome browser.

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

Press the “Enter” button.

To disable:

Disable the switch next to “Allowed (recommended).”

To enable:

Activate the button next to “Blocked.”

Read: How to Change Default Zoom in Google Chrome

Notes:

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

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.

Android

Open the Chrome app.

Hit the three vertical points at the top.

Tap “Settings.”

Click on “Site settings.”

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

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

Read: Which Version of Chrome Do I Have

Notes:

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

Here’s how it works:

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

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

To add a site:

Tap this option. Enter the site and click “Add.”

Read: How to Set Homepage in Chrome

How to enable or disable JavaScript in Edge

Windows 10 PC

Open Edge browser.

Hit the three horizontal points at the top.

Click on “Settings.”

Click “Site permissions” in the left sidebar.

Click on “JavaScript.”

Enable (to enable) or disable (for disabling JavaScript) the switch.

Read: How to Disable Spell Checker in Edge

Notes:

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

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 Reset Edge in Windows 10

Android

Open the Edge app.

Press the button with the three horizontal points below.

Click on “Settings.”

Tap “Site permissions.”

Click on “JavaScript.”

Enable (to enable) or disable (to disable) the switch.

That’s it.

If you have disabled JavaScript, you will see the “Add site exception” option.

This option allows you to allow JavaScript for certain websites.

Here’s how you can add a specific site:

Press the option. Enter the website URL. Press “Save.”

Read: How to Change Default Search Engine in Edge

How to enable or disable JavaScript in Firefox

Windows 10 PC

Open the Firefox browser.

Type about:config in the address bar and then press the “Enter” key.

Click the “Accept the risk and Continue” button.

Enter javascript in the search box above.

You can find “javascript.enabled” now.

Click on the “Toggle” button next to it.

If you see “true” beside javascript.enabled, this means that JavaScript is enabled. If you see “false” beside javascript.enabled, this means that JavaScript is disabled.

Activate or deactivate JavaScript in the Safari (iPhone)

Open Settings.

Hit “Safari.”

Scroll down and tap “Advanced.”

You will now see the button next to “JavaScript.” Activate it to enable JavaScript. Deactivate it to deactivate JavaScript.

Read: