How To Disable JavaScript in Mozilla Firefox

Firefox disable JavaScript
Getty Images (George Manga #166054179)

This article is only intended for users running the Mozilla Firefox Web browser on Android, Linux, Mac OS X, macOS Sierra, or Windows operating systems.

On occasion, it may be necessary to disable JavaScript for development or security purposes. This tutorial explains how this is done in Mozilla's Firefox browser.

Difficulty: Easy

Time Required: 2 Minutes.

Here's How:

  1. Open your Firefox browser.
  2. Type the following text into Firefox's address bar and hit the Enter key: about:config
  1. A new tab will now open displaying a warning message that "This might void your warranty!" Click on the button labeled I'll be careful, I promise!
  2. A list of Firefox Preferences should now be visible. Locate the entry with a Preference Name value of javascript.enabled.
  3. Double-click on this entry so that its Value is set to false. Android users should select the entry and then tap on Toggle.
  4. JavaScript is now disabled in your Firefox browser. To re-enable it at any time, simply double-click on this entry again so that its Value is set to true. Android users can select either the Toggle or Reset options.

What You Need:

  • Mozilla Firefox for Android, Linux, Mac OS X, macOS Sierra, or Windows operating systems.

Related Reading

Several Firefox settings can be configured via the about:config interface, including the following.

You can also control Firefox's other download-related functionality via about:config.

Was this page helpful?