Enabling and disabling JavaScript in Web browsers

Information about your Web browser

Enabling and disabling JavaScript

JavaScript is supported by the Camino, Firefox, Google Chrome, iCab, Internet Explorer, Konqueror, Netscape, OmniWeb, Opera, Safari and SeaMonkey Web browsers, and so almost everyone can use it. However, some people worry that JavaScript can be abused by disreputable Web site owners, and choose to disable it.

JavaScript is used on several pages on this Web site, but it is only essential on the pages that demonstrate the information that can be determined about your Web browser and computer by using JavaScript.

Internet Explorer 7 and 8

  1. Open the “Tools” menu.
  2. Select “Internet Options”, to open the Internet Options dialog box.
  3. Click the “Security” tab.
  4. Click the “Internet” symbol (a globe).
  5. Click the “Custom Level…” button, to open the Security Settings dialog box.
  6. In the Settings list, scroll down to “Scripting”.
  7. Under Active Scripting, click the radio button to the left of “Enable”, so that a coloured dot appears in it. (Click “Disable” if you want to disable JavaScript.)

    Enabling JavaScript in Internet Explorer 7

  8. (If you are unsure about the other Security Settings, please check with your Network Administrator.)
  9. Click “OK” to close the Security Settings dialog box.
  10. Click “Yes” in the Warning! message box.
  11. Click “OK” to close the Internet Options dialog box.

Internet Explorer 6

  1. Open the “Tools” menu.
  2. Select “Internet Options…”, to open the Internet Options dialog box.
  3. Click the “Security” tab.
  4. Click the “Internet” symbol (a globe).
  5. Click the “Custom Level…” button, to open the Security Settings dialog box.
  6. In the Settings list, scroll down to “Scripting”.
  7. Under Active Scripting, click “Enable”, so that a dot appears next to it. (Click “Disable” if you want to disable JavaScript.)

    Enabling JavaScript in Internet Explorer 6

  8. (If you are unsure about the other Security Settings, please check with your Network Administrator.)
  9. Click “OK” to close the Security Settings dialog box.
  10. Click “Yes” in the Warning! message box.
  11. Click “OK” to close the Internet Options dialog box.

Firefox

  1. Open the “Tools” menu (Windows) or the Firefox menu (OS X).
  2. Select “Options…” (Windows) or “Preferences…” (OS X), to open a dialog box.
  3. In the row of coloured icons at the top, click “Content”.
  4. Click the check box to the left of “Enable JavaScript” so that a tick appears. (Click again to remove the tick if you want to disable JavaScript.)

    Enabling JavaScript in Firefox

  5. Click “OK” to close the dialog box.

Google Chrome

  1. Click the spanner icon near the top right to open the menu.
  2. Select “Options”, to open the Google Chrome Options dialog box.
  3. In the Google Chrome Options dialog box, click the “Under the Bonnet” tab.
  4. In the Privacy section, click the “Content settings…” button.
  5. In the Content Settings dialog box, click “JavaScript” in the list of Features.
  6. Click the “Allow all sites to run JavaScript (recommended)” radio button.

    Google Chrome Options dialog box
  7. (Click the “Do not allow any site to run JavaScript” radio button if you want to disable JavaScript.)
  8. Click “Close” to close the Content Settings dialog box.
  9. Click “Close” to close the Google Chrome Options dialog box.

Opera

  1. Open the “File” menu (version 6) or the “Tools” menu (versions 7, 8 and 9).
  2. Point to “Quick preferences”.
  3. In the submenu that appears, click “Enable JavaScript” to add or remove the tick.

    Opera Quick Preferences menu

If you are using Mac OS X, then you need to select “Quick preferences” on the Opera menu, instead of the Tools menu.

Safari

  1. Open the Safari menu (OS X), or the “Edit” menu (Windows). (If the menu is not visible, press the Alt key.)
  2. Select “Preferences…”
  3. In the Preferences dialog box, click the Security icon (a padlock).

    Enabling JavaScript in Safari

  4. In the Web Content section, click the check box next to “Enable JavaScript” so that a tick appears. (Click again to remove the tick if you want to disable JavaScript.)
  5. Close the Preferences dialog box by clicking the red button at the top left (OS X) or by clicking the X icon at the top right (Windows).

Camino

  1. Open the “Camino” menu.
  2. Click “Preferences…” to open a dialog box.
  3. Click “Web Features”.
  4. In the Content Control section, click “Enable JavaScript… so that a tick appears.

    Enabling JavaScript in Camino

  5. Close the Preferences dialog box by clicking the red button at the top left.

SeaMonkey

  1. Open the “Edit” menu (Windows), or the SeaMonkey menu (OS X).
  2. Select “Preferences…”, to open the Preferences dialog box.
  3. In the Category list, click the “+” sign next to “Advanced” so that a list of items appears.
  4. In the list of items beneath Advanced, click “Scripts & Plug-ins”.
  5. To the right of the list, beneath Enable JavaScript for, click “Navigator” so that a tick appears. (Click again to remove the tick if you want to disable JavaScript.)

    Enabling JavaScript in SeaMonkey

  6. Click “OK” to close the Preferences dialog box.

Internet Explorer 4.x or 5.x (Windows)

  1. Open the Tools menu.
  2. Click Internet Options…
  3. Click the Security tab.
  4. Click the Internet symbol (a globe).
  5. Click the Custom Level… button.
  6. In the Settings list, scroll down to Scripting.
  7. Under Active Scripting, select either Enable or Disable.

    Enabling JavaScript in Internet Explorer 5

  8. Click OK.
  9. Click Yes in the Warning! message box.
  10. Click OK.

Internet Explorer 4.x or 5.x (Mac)

  1. Open the Edit menu (OS 9) or the Explorer menu (OS X).
  2. Click Preferences…
  3. In the scrolling list on the left, click Web Browser so that you can see the bulleted items beneath it.
  4. Click Web Content.
  5. In the Active Content section, click the check box next to “Enable scripting” so that a tick appears. (Click again to remove the tick if you want to disable JavaScript.)

    Enabling JavaScript in Internet Explorer 5.2

  6. Click OK.

Netscape 4.x or 6.x (Windows or Mac)

  1. Open the Edit menu.
  2. Click Preferences…
  3. In the Category list, select Advanced.
  4. To the right of the list, select “Enable JavaScript” to add or remove the tick.

    Enabling JavaScript in Netscape 4.7

  5. Click OK.

Netscape 3.x (Windows)

  1. Open the Options menu.
  2. Click Network Preferences…
  3. In the Preferences dialog box, click the Languages tab.
  4. Click the check box to produce a tick next to “Enable JavaScript”. Click again to remove the tick and disable support.
  5. Click OK.

Netscape 2.x (Windows)

  1. Open the Options menu.
  2. Click Security Preferences…
  3. In the Preferences dialog box, click the General tab.
  4. Click the check box to remove a tick next to “Disable JavaScript”. Click again to add a tick and disable support.
  5. Click OK.

JavaScript and Java

You may notice that in some of the screenshots above you can also enable and disable Java in your web browser.

JavaScript is a scripting language that is normally used in web pages and runs on your computer when your browser displays a page. The ability to run JavaScript is built in to almost all web browsers.

Java is a programming language that is far more capable than JavaScript. Java programs can be run on a web server, or within a web browser, or as applications on your computer. You can now even find specialized Java web hosting. In order to run Java programs on your computer, you need to install either a full version or a run-time version of Java.

Send comments or questions to Alan Wood

Valid HTML 4.01     Unicode Encoded
Created 6th December 1997   —   Updated 25th June 2011
Copyright © 1997–2011 Alan Wood

Alan Wood’s Web site