Javascript.enabled: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(JS Switch addon can toggle preference no longer available natively via Firefox Option)
(moved JS Switch addon to External links section)
 
Line 41: Line 41:
==See also==
==See also==
* [[Allowing only certain sites to use JavaScript]]
* [[Allowing only certain sites to use JavaScript]]
==External links==
* Addon [https://addons.mozilla.orgfirefox/addon/js-switch/ JS Switch] to toggle preference via Tools and/or a toolbar button.  
* Addon [https://addons.mozilla.orgfirefox/addon/js-switch/ JS Switch] to toggle preference via Tools and/or a toolbar button.  


[[Category:Preferences]]
[[Category:Preferences]]
[[Category:Security and privacy-related preferences]]
[[Category:Security and privacy-related preferences]]

Latest revision as of 20:26, 26 June 2015

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.