How do I enable or disable JavaScript in my browser?
today, about all Internet browsers have JavaScript installed and enabled by default. many features of a web site are enhanced or made potential by JavaScript programs that run in your browser. consequently, if you disable JavaScript, sealed websites may not function as intended. To learn how to enable or disable JavaScript, select your browser from the list below and follow the steps .
note
Java and JavaScript are unlike. If you need data about Java or any of its versions, see our Java definition .
Tip
If you want to check if JavaScript is presently enabled, see our JavaScript definition for an model script that runs in a JavaScript-enabled browser .
Google Chrome
To enable or disable JavaScript in Google Chrome, follow these steps .
- Open Google Chrome.
- In the upper-right of the Chrome window, click the
icon.
- Select Settings from the drop-down menu.
- On the left side of the screen, click Privacy and security.
- Expand the Site Settings option.
- On the Site Settings page, scroll to the bottom of the screen. Under the Content section, click the JavaScript option.
- To the right of the Allowed option, click the toggle to the on
position to enable JavaScript or the off
position to disable JavaScript.
Allow or block JavaScript on specific websites
In the Allow or Block section, click the button. then, type or paste the URL of the web site for which you ‘d like to allow or block JavaScript .
Mozilla Firefox
To enable or disable JavaScript in Firefox, follow these steps .
- Open Firefox.
- In the address bar, type about:config and press Enter.
- Click the Accept the Risk and Continue button in the center of the screen.
- In the Search preference name text field, type javascript.enabled.
- For the javascript.enabled search result, click the Toggle
icon on the far right. The true value changes to false to indicate JavaScript is disabled.
- To re-enable JavaScript, repeat these steps, changing false to true.
Microsoft Edge
To enable or disable JavaScript in Edge, follow these steps.
- Open Microsoft Edge.
- In the upper-right corner of the screen, click the
icon.
- At the bottom of the Settings and more menu, select Settings.
- On the left side of the screen, select Cookies and site permissions.
- Under the Site permissions section, click the box labeled JavaScript.
- On the Site permissions / JavaScript screen, use the toggle switch to enable and disable JavaScript.
Microsoft Edge Legacy
By default, JavaScript is enabled in the Microsoft Edge Legacy browser. The Creators Update for Windows 10 removed the ability to manually enable or disable JavaScript .
Internet Explorer
To enable or disable JavaScript in Internet Explorer, follow these steps .
- Open Internet Explorer.
- Click Tools
in the upper-right corner of the browser window.
- Select Internet Options from the drop-down menu that appears.
- In the Internet Options window, click the Security tab.
- In the Security tab, click Custom Level button.
- Scroll down the list (close to the bottom) and locate Active Scripting. Select Disable, Enable, or Prompt to adjust your JavaScript settings.
Android phone & tablet
To enable or disable JavaScript on an Android mobile device, you need to access the browser settings. As there are many different browsers on Android devices, you may need to use some intuition to access the settings. The succeed instructions are for Google Chrome .
- Open Google Chrome.
- In the upper-right corner, click the
icon.
- On the drop-down menu that appears, tap the Settings option.
- Under the Advanced section, tap Site settings.
- Tap JavaScript.
- Move the slider
to toggle JavaScript on or off.
Safari (macOS)
To enable or disable JavaScript in Safari on an iMac or MacBook, follow these steps .
- Open Safari.
- In the menu bar, click the
selector and choose Preferences.
- In the Security tab, next to Web content, click the check box next to Enable JavaScript box to toggle it on or off.
Safari (iPhone & iPad)
To enable or disable JavaScript in Safari for io or iPadOS, follow these steps .
- Tap the Settings
icon on the home screen.
- On the Settings screen, scroll down and tap Safari.
- On the Safari screen, scroll down to the bottom and tap the Advanced option.
- On the Advanced screen, tap the toggle to the on
position to enable JavaScript or the off
position to disable JavaScript.
Opera
To enable or disable JavaScript in the Opera browser, follow these steps .
- Open Opera.
- Click Customize and control Opera
in the upper-left corner of the browser window.
- Select Settings from the drop-down menu that appears.
- On the left side of the screen, click the Privacy and security option.
Read more: The Best Classic Chili – The Wholesome Dish
- In the Privacy and security section, click Site Settings.
- On the Site Settings page, under the Content section, click the JavaScript option.
- In the Default behavior section, click the circle next to Sites can use Javascript to turn it on or Don’t allow sites to use Javascript to turn it off.