Javascript.enabled: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎UI: added Firefox 2. Changed to a single "Firefox" heading and placed versions in parentheses.)
(JS Switch addon can toggle preference no longer available natively via Firefox Option)
Line 16: Line 16:
===Firefox===
===Firefox===
&ldquo;Tools &rarr; Options &rarr; Content &rarr; Enable JavaScript&rdquo; ''(Firefox 2 and 1.5)'' <br>
&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)''
&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]]
* 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]]

Revision as of 20:21, 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