How do I disable or enable Java or JavaScript in my browser?

Follow the steps below to disable Java or JavaScript. If your browser is not listed here, consult its support website.


All browsers

Disable Java Version 7 Update 10 from the Control Panel in Windows or System Preferences in Mac OS X.

Windows

  1. Navigate to the Control Panel.
    Note:
    For help navigating, see Getting around in Windows.
  2. In the Search Control panel, type Java Control Panel into the "Search" field, and click the Java icon to open it.
  3. In the Java Control Panel, click the Security tab.
  4. At the top of the Security tab, check the Enable Java content in the browser box to enable Java. Uncheck to disable.

Mac OS X 10.7.3 and higher

  1. Click the Apple icon in the top left of the screen.
  2. Select System Preferences.
  3. Click the Java icon to open the Java Control Panel. Then, click the Security tab.
  4. At the top of the Security tab, check the Enable Java content in the browser box to enable Java. Uncheck to disable.

Internet Explorer

Note:
On January 12, 2016, Microsoft ended support for Internet Explorer versions prior to version 11. UITS strongly recommends that you upgrade to a new operating system if your current system does not support Internet Explorer 11.

To enable or disable Java in Internet Explorer:

  1. From the Tools menu, select Manage add-ons.
  2. From the "Show:" drop-down menu, select All add-ons.
  3. In the pane listing the add-ons, under "Oracle America, Inc.", select each item, and then click Disable.
  4. After you have disabled all Java add-ons, restart your browser.

To enable or disable JavaScript in Internet Explorer:

  1. From the Tools menu, select Internet Options.
  2. In Internet Options, click the Security tab.
  3. Click the globe labeled Internet, and then click Custom level.
  4. Scroll down to the "Scripting" section. Under Active Scripting, select either Disable, Enable, or Prompt.
  5. Press OK and restart Internet Explorer.

Edge

For Microsoft Edge, you must disable JavaScript from the Windows Group Policy Editor, rather than in the browser settings. To do so, in Windows 10:

  1. Launch the Edit Group Policy program.
  2. Expand the User Configuration folder.
  3. Expand the Administrative Templates folder.
  4. Expand the Windows Components folder.
  5. Expand the Microsoft Edge folder.
  6. Double-click Allows you to run scripts, like Javascript.
  7. Choose Disabled, and click Ok to confirm.

Firefox

To enable or disable the Java plug-in Firefox:

  1. Open a new tab, and then, in the address bar, type about:addons.
  2. Press Enter or Return.
  3. On the left, click Plugins.
  4. Find the Java Plug-in, and then click the corresponding activation button (on the right) to select either:
    • Always Activate (to enable the plug-in by default)
    • Never Activate (to disable the plug-in by default)
    • Ask to Activate (to make Firefox prompt you whenever a website tries to access the Java plug-in)
  5. When you're finished, close the "about:addons" tab.

To enable or disable JavaScript in Firefox:

  1. Open a new tab, and then, in the address bar, type about:config.
  2. Press Enter or Return.
  3. You'll see a "This might void your warranty!" warning. Click I'll be careful, I promise! to continue.
  4. In the search bar, enter javascript.enabled, and then, in the search results, under "Preference Name", locate javascript.enabled.
  5. Right-click (Windows) or Ctrl-click (OS X) javascript.enabled, and then select Toggle to change its "Value" entry to true (enabled) or false (disabled).
  6. When you're finished, close the "about:config" tab.

For more on the about:config feature in Firefox, see the MozillaZine about:config page.

Chrome

To enable or disable Java in Chrome:

  1. In the address bar, enter chrome://plugins.
  2. Find the "Java" entry, and click its Disable link.
  3. Restart your browser.

To enable or disable JavaScript in Chrome:

  1. In the address bar, enter chrome://settings/content.
  2. Find JavaScript on the page and select either Allow all sites to run JavaScript or Do not allow any site to run JavaScript.
  3. Click Done and restart Chrome.

Safari

To enable or disable Java or JavaScript in Safari:

  1. From the Safari menu, select Preferences.
  2. Click Security.
  3. Check or uncheck the Allow Java or Enable JavaScript box.
  4. Restart your browser.

This is document bcyv in the Knowledge Base.
Last modified on 2016-01-11 00:00:00.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.