Javascript.enabled

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Background

This preference determines whether JavaScript in content can execute.

Possible values and their effects

True

JavaScript in content can execute. (Default)

False

JavaScript in content cannot execute.

UI

Mozilla Suite

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

Firefox

“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.