From MozillaZine Knowledge Base
Jump to: navigation, search


This preference determines whether JavaScript in content can execute.

Possible values and their effects


JavaScript in content can execute. (Default)


JavaScript in content cannot execute.


Mozilla Suite

“Edit → Preferences → Advanced → Scripts & Plugins → Enable JavaScript for → Navigator”


“Tools → Options → Content → Enable JavaScript” (Firefox 2 and 1.5)
“Tools → Options → Web Features → Enable JavaScript” (Firefox 1.0.x)
Note: Ability to change via Options was removed (Firefox 23.0.1 and up), you can toggle the preference with an addon JS Switch (11.3kb) from Tools and/or a toolbar button.

Recommended settings

JavaScript is required for many sites to function, so it is recommended this be set to true. To allow/disallow JavaScript by site, read this article.

First checked in

1999-09-17 by Norris Boyd.

Has an effect in

  • Netscape (all versions since 6.0)
  • Mozilla Suite (all versions since M11)
  • Phoenix (all versions)
  • Firebird (all versions)
  • Firefox (all versions)
  • Minimo (all versions)
  • SeaMonkey (all versions)

Related bugs

Related preferences

See also

External links

  • Addon JS Switch to toggle preference via Tools and/or a toolbar button.