Javascript.enabled: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (update template)
(moved JS Switch addon to External links section)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
==UI==
==UI==
===Mozilla Suite===
===Mozilla Suite===
A checkbox labeled “Navigator” is located under “Edit → Preferences → Advanced → Scripts & Plugins → Enable JavaScript for”.
“Edit → Preferences → Advanced → Scripts & Plugins → Enable JavaScript for → Navigator”
===Mozilla Firefox 1.0.x===
A checkbox labeled “Enable JavaScript” is located under “Tools → Options → Web Features”.
===Mozilla Firefox 1.5===
A checkbox labeled “Enable JavaScript” is located under “Tools → Options → Content”.


===Firefox===
&ldquo;Tools &rarr; Options &rarr; Content &rarr; Enable JavaScript&rdquo; ''(Firefox 2 and 1.5)'' <br>
&ldquo;Tools &rarr; Options &rarr; Web Features &rarr; Enable JavaScript&rdquo; ''(Firefox 1.0.x)''<br>
Note: Ability to change via Options was removed ''(Firefox 23.0.1 and up)'', you can toggle the preference with an addon [https://addons.mozilla.orgfirefox/addon/js-switch/ JS Switch] (11.3kb) from Tools and/or a toolbar button.
==Recommended settings==
==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 [[Allowing only certain sites to use JavaScript | this article]].
JavaScript is required for many sites to function, so it is recommended this be set to true. To allow/disallow JavaScript by site, read [[Allowing only certain sites to use JavaScript | this article]].
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.


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