JavaScript settings and preferences for interactive web pages

Revision Information
  • Revision id: 26258
  • Created:
  • Creator: Swarnava
  • Comment: added the Share this article template
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Swarnava
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

JavaScript® is a standard programming language that can be included in web pages to provide functionality such as menus, sounds, and other interactive features. By default, Firefox enables the use of JavaScript and requires no additional installation. However, JavaScript can also be used to do things that some users find undesirable. While the JavaScript settings in Firefox are configured to provide a safe experience on the web, you can review the settings to ensure that they meet your needs. This article describes what JavaScript is and what JavaScript settings are available in Firefox.

Enabling and disabling JavaScript

In Firefox, you can configure whether JavaScript in web pages is permitted to execute or not. To allow JavaScript in Firefox:

  1. At the top of the Firefox window, click on the Firefox button and then select Options.At the top of the Firefox window, click on the Tools menu and then select Options.On the menu bar, click on the Firefox menu and select Preferences....At the top of the Firefox window, click on the Edit menu and select Preferences.

    Click the menu button New Fx Menu and choose Options.Preferences.

  2. In the OptionsPreferences window, select the Content panel.
    1. Enable JavaScript: Select this option to permit JavaScripts to execute on your computer.
    2. To change advanced settings, click Advanced....

      668a9022f052f20f795759846994bc3f-1260050698-426-1.png



      javascript-en-mac-1.jpg

  3. Click OK to close the Options window.Click Close to close the Preferences window.Close the Preferences window. Close the about:preferences page.


Advanced JavaScript settings

Through the Advanced JavaScript Settings window, you can configure the permissions for JavaScripts.

JavaScript - Win2


668a9022f052f20f795759846994bc3f-1260050698-426-2.png


javascript-en-mac-adv.jpg

  • Move or resize existing windows: To prevent JavaScripts from changing the position or size of existing windows, deselect this option.
  • Raise or lower windows: This option allows sites to place windows below or above existing windows.
  • Disable or replace context menus: When you right-click an item, a sub-menu may appear. This menu, called a "context menu," can be disabled through JavaScripts. To prevent them from disabling context menus, deselect this option.
  • Hide the status bar: The status bar is the area at the bottom of each window that indicates your current location and the destination locations of hyperlinks. Through JavaScripts, the status bar can be hidden from display, which prevents you from identifying locations of pop-up windows. To prevent hiding the status bar, deselect this option.
  • Change status bar text: Through JavaScript, websites can add their own text to the status bar, which prevents you from identifying locations. To disable overwriting the status bar, deselect this option.




Based on information from JavaScript (mozillaZine KB)

JavaScript is a trademark of Oracle Corporation in the U.S. and other countries.