Today, all Internet browsers have JavaScript installed and enabled by default. Keep in mind that many features on web pages are JavaScript dependent and will not work properly if it is disabled. Additionally, JavaScript should not be confused with Java, which is a programming language used to create applications. This document is for toggling JavaScript, not Java. To proceed, select your browser from the list below and follow the instructions.
Tip: To test whether or not JavaScript is enabled, see the JavaScript definition for a working example.
- Microsoft Edge users
- Microsoft Internet Explorer users
- Google Chrome
- Mozilla Firefox users
- Apple Safari users
- Opera users
- Android Phone & Tablet users
- iPhone & iPad users
Microsoft Edge users

- Press the Windows key, type Edit group policy, and then press Enter.
- Expand the Computer Configuration section by clicking the arrow next to it.
- Then expand the Administrative Templates section.
- And finally, expand the Windows Components section.
- Double-click on the Microsoft Edge folder.
- Double-click Allows you to run scripts, like JavaScript.
- In the window what appears, select Disabled, and click OK.
Internet Explorer

- Open the Internet Explorer browser.
- Click Tools
in the upper right-hand corner of the browser window.
- Select Internet Options from the drop-down menu that appears.
- Within 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.
Google Chrome

- Open the Chrome browser.
- Click Customize and control Google Chrome
in the upper right-hand corner of the browser window.
- Select Settings from the drop-down menu that appears.
- At the bottom of Settings window, click Show advanced settings...
- In the Privacy section, click the
button.
- Under the JavaScript section, choose the appropriate settings for your needs. You may enable, disable, or set specific rules by clicking the
button.
- Once you have made your changes, click Done.
Mozilla Firefox

- Open the Firefox browser.
- In the address bar, type about:config and press Enter.
- Click the I accept the risk button in the center of the screen.
- In the search bar, type javascript.enabled.
- Right-click the result named javascript.enabled located just below the search bar and select Toggle.
- JavaScript is now disabled. To re-enable it, repeat this exact process.
Safari

- Open the Safari browser.
- Click Menu
in the upper right-hand corner of the browser window.
- Select Preferences from the drop-down menu that appears.
- Click the Security tab and locate the Web content: section.
- The check box next to Enable JavaScript toggles whether or not it is on or off.
Opera

- Open the Opera browser.
- Click Customize and control Opera
in the upper left-hand corner of the browser window.
- Select
Settings from the drop-down menu that appears.
- Click Websites in the settings window that appears.
- Under the JavaScript section, choose the appropriate settings for your needs. You may enable, disable, or set specific rules by clicking the
button.
Android Phone & Tablet users
To enable or disable JavaScript on an Android phone or tablet, follow the steps below.
- Access the full Apps list on the Android phone.
- Tap the Browser icon.
- Tap the menu button to open the browser menu, then tap the Settings option.
- Tap the Advanced option in the Settings menu.
- Check the box for Enable JavaScript to enable JavaScript or uncheck the box to disable JavaScript.
iPhone & iPad users
To enable or disable JavaScript on an iPhone or iPad, follow the steps below.
- Tap the Settings icon on the home screen.
- On the Settings screen, scroll down, find and tap the Safari option.
- On the Safari screen, scroll down to the bottom and tap the Advanced option.
- On the Advanced screen, slide the JavaScript settings to the right to enable JavaScript or slide the setting to the left to disable JavaScript.
Additional information
- Use the System information script to view if JavaScript is enabled or disabled.
- See the Java and JavaScript definitions for further information and related links.