X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do I disable javascript in FF 23? It's no longer under 'content'

Posted

I consider it a security issue that I no longer have the ability top turn off java/javascript and what not. Is there no way to enable this? This is a terrible decision, if it was a decision. People should be able to control how they interact with the web, not the browser vendor. For a browser/organization that promotes freedom for the web, this is basic functionality for that freedom. Any solution would be helpful and please don't point me at some ugly plugin.

Chosen solution

I agree with that Mozilla seems to be taking away prefs, but not that they want to lock your browser, also Note that turning off Javascript has little benefit (it isnt very insecure and cant really take control of the system), you can still disable Java (not Javascript) from the addon manager Firefox Button/Tools => Addons.

DO NOT MIX JAVA AND JAVASCRIPT, they are VERY SEPERATE, to avoid confusion read http://kb.mozillazine.org/JavaScript_is_not_Java

"JavaScript is a completely separate technology from Java. Java was the "in thing" back in the days when Brendan Eich at Netscape created a programming language that was originally going to be called LiveScript, so unfortunately they decided to rename it from LiveScript to JavaScript in the hope of catching the media’s interest. A JavaScript script is usually a small series of commands that are often embedded in a webpage to do things like create fly-out menus, invoke pop-up windows, and validate form data. Support for JavaScript is built into all XUL-based applications such as Firefox, Thunderbird and Mozilla Suite. (Note that JavaScript is actually a complete programming language, and it is one of the languages in which Mozilla products are written.) Java is a programming language used to create stand-alone software applications (including games). Java programs can also be embedded in webpages, in which case they are called ‘applets’. Java applications and applets require additional software (the Java Runtime Environment) to be installed on your system. For more information about running these technologies in your Mozilla product you should consult the JavaScript and Java articles."

In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentially damaging their Firefox, the option to disable JavaScript was removed from the Firefox Options window.

However, the option to disable JavaScript was not removed from Firefox entirely. You can still access it from about:config or by installing an add-on.

about:config

  1. In the address bar, type "about:config" (with no quotes), and press Enter.
  2. Click "I'll be careful, I promise"
  3. In the search bar, search for "javascript.enabled" (with no quotes).
  4. Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled.

To Re-enable JavaScript, repeat these steps.

Add-ons

You can alternatively install an add-on that lets you disable JavaScript, such as

  • No-Script (to disable JavaScript on a per page basis, as required)
  • QuickJava (to easily disable and enable JavaScript, automatic loading of images, and other content)
  • SettingSanity (adds back removed options for JavaScript, Advanced JavaScript Settings, loading images, and showing the Tab Bar)
Read this answer in context 151

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202
  • This plugin provides integration with Gnome Shell for live extension enabling and disabling. It can be used only by extensions.gnome.org
  • Java plug-in for NPAPI-based browsers.

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

More Information

Waka_Flocka_Flame
  • Top 25 Contributor
529 solutions 5045 answers

Chosen Solution

I agree with that Mozilla seems to be taking away prefs, but not that they want to lock your browser, also Note that turning off Javascript has little benefit (it isnt very insecure and cant really take control of the system), you can still disable Java (not Javascript) from the addon manager Firefox Button/Tools => Addons.

DO NOT MIX JAVA AND JAVASCRIPT, they are VERY SEPERATE, to avoid confusion read http://kb.mozillazine.org/JavaScript_is_not_Java

"JavaScript is a completely separate technology from Java. Java was the "in thing" back in the days when Brendan Eich at Netscape created a programming language that was originally going to be called LiveScript, so unfortunately they decided to rename it from LiveScript to JavaScript in the hope of catching the media’s interest. A JavaScript script is usually a small series of commands that are often embedded in a webpage to do things like create fly-out menus, invoke pop-up windows, and validate form data. Support for JavaScript is built into all XUL-based applications such as Firefox, Thunderbird and Mozilla Suite. (Note that JavaScript is actually a complete programming language, and it is one of the languages in which Mozilla products are written.) Java is a programming language used to create stand-alone software applications (including games). Java programs can also be embedded in webpages, in which case they are called ‘applets’. Java applications and applets require additional software (the Java Runtime Environment) to be installed on your system. For more information about running these technologies in your Mozilla product you should consult the JavaScript and Java articles."

In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentially damaging their Firefox, the option to disable JavaScript was removed from the Firefox Options window.

However, the option to disable JavaScript was not removed from Firefox entirely. You can still access it from about:config or by installing an add-on.

about:config

  1. In the address bar, type "about:config" (with no quotes), and press Enter.
  2. Click "I'll be careful, I promise"
  3. In the search bar, search for "javascript.enabled" (with no quotes).
  4. Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled.

To Re-enable JavaScript, repeat these steps.

Add-ons

You can alternatively install an add-on that lets you disable JavaScript, such as

  • No-Script (to disable JavaScript on a per page basis, as required)
  • QuickJava (to easily disable and enable JavaScript, automatic loading of images, and other content)
  • SettingSanity (adds back removed options for JavaScript, Advanced JavaScript Settings, loading images, and showing the Tab Bar)

Modified by Waka_Flocka_Flame