Regain control of the web and surf more securely.
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 macOS.
Windows
- Navigate to the Control Panel.For help navigating, see Get around in Windows.
- In the Search Control panel, type
Java ControlPanel
into the 'Search' field, and click the Java icon to open it. - In the Java Control Panel, click the Security tab.
- At the top of the Security tab, check the Enable Javacontent in the browser box to enable Java. Uncheck to disable.
macOS
- Click the Apple icon in the top left of the screen.
- Select System Preferences.
- Click the Java icon to open the Java Control Panel. Then, click the Security tab.
- At the top of the Security tab, check the Enable Javacontent in the browser box to enable Java. Uncheck to disable.
Internet Explorer
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. If you experience difficulty with Internet Explorer, make sure compatibility mode is turned off.
To enable or disable Java in Internet Explorer:
- From the Tools menu, select Manage add-ons.
- From the 'Show:' drop-down menu, select All add-ons.
- In the pane listing the add-ons, under 'Oracle America, Inc.', select each item, and then click Disable.
- After you have disabled all Java add-ons, restart your browser.
To enable or disable JavaScript in Internet Explorer:
- From the Tools menu, select Internet Options.
- In Internet Options, click the Security tab.
- Click the globe labeled Internet, and then click Custom level.
- Scroll down to the 'Scripting' section. Under ActiveScripting, select either Disable, Enable, or Prompt.
- Press OK and restart Internet Explorer.
Edge
The following instructions will not work in the Home or Starter editions of Windows; Group Policy Editor is not available in these editions.
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:
- Launch the Edit Group Policy program.
- Expand the User Configuration folder.
- Expand the Administrative Templates folder.
- Expand the Windows Components folder.
- Expand the Microsoft Edge folder.
- Double-click Allows you to run scripts, like Javascript.
- Choose Disabled, and click Ok to confirm.
Firefox
To enable or disable the Java plug-in Firefox:
- Open a new tab, and then, in the address bar, type
about:addons
. - Press
Enter
orReturn
. - On the left, click Plugins.
- 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)
- When you're finished, close the 'about:addons' tab.
To enable or disable JavaScript in Firefox:
![Mac Mac](/uploads/1/2/5/7/125796602/470156751.jpg)
- Open a new tab, and then, in the address bar, type
about:config
. - Press
Enter
orReturn
. - You'll see a 'This might void your warranty!' warning. Click I'll be careful, I promise! to continue.
- In the search bar, enter
javascript.enabled
, and then, in the search results, under 'Preference Name', locate javascript.enabled. - Right-click (Windows) or
Ctrl
-click (macOS) javascript.enabled, and then select Toggle to change its 'Value' entry totrue
(enabled) orfalse
(disabled). - When you're finished, close the 'about:config' tab.
For more on the about:config feature in Firefox, see the MozillaZine about:configpage.
Chrome
To enable or disable Java in Chrome:
- In the address bar, enter
chrome://plugins
. - Find the 'Java' entry, and click its Disable link.
- Restart your browser.
To enable or disable JavaScript in Chrome:
- In the address bar, enter
chrome://settings/content
. - Find JavaScript on the page and select either Allowall sites to run JavaScript or Do not allow any site to runJavaScript.
- Click Done and restart Chrome.
Safari
To enable or disable Java or JavaScript in Safari:
- From the Safari menu, select Preferences.
- Click Security.
- Check or uncheck the Allow Java or Enable JavaScript box.
- Restart your browser.
Chrome no longer supports NPAPI (technology required for Java applets)
The Java Plugin for web browsers relies on the cross-platform plugin architecture NPAPI, which had been supported by all major web browsers for over a decade. Google's Chrome version 45 and above have dropped support for NPAPI, and therefore Java Plugin do not work on these browsers anymore.
Java applications are offered through web browsers as either a web start application (which do not interact with the browser once they are launched) or as a Java applet (which might interact with the browser). This change does not affect Web Start applications, it only impacts applets.