Download ArticleDownload Article

Although JavaScript is turned on in Mozilla Firefox by default, you can enable and disable it as needed both globally and for individual websites. We'll show you how to enable JavaScript in any version of Firefox on your computer.

Method 1
Method 1 of 4:

Enabling JavaScript in Firefox 23 and Up

Download Article

To check which version of Firefox you're running, press Alt + H to open the Help menu, then click About Firefox.

  1. How.com.vn English: Step 1 Open Firefox.
    The Firefox icon depicts a fox curled around a blue globe. If Firefox is already open, press Ctrl + T on PC, or Command + T on Mac to open a new tabbed window.
  2. How.com.vn English: Step 2 Type about:
    config into the address bar and press Enter or Return.[1] This command opens a configuration menu not available through Firefox's regular options menu.
    • To return to the config menu later without any typing, just create a bookmark to it. After the menu comes up, create a bookmark by pressing Ctrl + D on PC, or Command + D on Mac.
    Advertisement
  3. How.com.vn English: Step 3 Click I'll be careful, I promise to continue.
    Firefox wants to make sure you know that all the settings in the about:config menu are for advanced users only. Changing settings you aren't familiar with could cause Firefox to become unresponsive, so think twice before changing anything.
  4. How.com.vn English: Step 4 Click in the search bar, then type javascript.
    enabled. All of the settings you can change are displayed alphabetically. Each setting has a row under the headers Preference Name, Status, Type, and Value. Typing a specific term in the search bar clears away all other entries that don't match your target.
    • Another way to search is by clicking on any of the settings under the Preference Name once, and pressing the j key. You'll automatically jump down the page to the first setting that begins with "j." Continue typing javascript to move further down the list to the option you want.
  5. How.com.vn English: Step 5 If javascript.
    enabled's Value reads "false," double-click it to change Value to "true." JavaScript should be enabled by default. There's no need to do anything if Value is already set to true.
  6. How.com.vn English: Step 6 Refresh your browser by clicking the Refresh button.
    Refreshing the configurations menu causes all of your changes to take effect. The Refresh button resembles an arrow curled into a circle, and should be located to the right of your address bar.
    • You can also press F5 on PC and Mac to refresh your browser.
  7. Advertisement
Method 2
Method 2 of 4:

Enabling JavaScript in Firefox 22 and Older

Download Article
  1. How.com.vn English: Step 1 Open Firefox and click the Tools menu.
    You should see Tools along the top of the Firefox window. If you don't, press Alt to make it visible.
  2. How.com.vn English: Step 2 From the Tools menu, click Options (on PC) or Preferences (on Mac).
  3. How.com.vn English: Step 3 Click the Content tab.
    The Content tab is a hub of options that affect the fonts, languages, and media that your Firefox browser can display.
  4. How.com.vn English: Step 4 Click Enable JavaScript or Enable Java.
    The option differs depending on the type of computer you use. Mac users should see Enable Java, while PC users running Windows should see Enable JavaScript.
  5. Advertisement
Method 3
Method 3 of 4:

Troubleshooting Add-ons

Download Article

If Firefox continues to exhibit poor performance after enabling JavaScript, you can troubleshoot the problem in a couple of ways.

  1. How.com.vn English: Step 1 Click the Menu button in the right-hand corner → Add-ons.
    Firefox uses add-ons, extensions, and plugins interchangeably to refer to downloadable programs you can use to customize your browsing experience.
  2. How.com.vn English: Step 2 Click Extensions and look over your list of add-ons.
    Disabled extensions appear grayed out, and bear a label that reads (Disabled) next to them. Enabled extensions appear more colorful.
  3. How.com.vn English: Step 3 Click an enabled extension, then click its Disable button.
    You can also right-click an extension to bring up a menu of options.
  4. How.com.vn English: Step 4 Click Restart now near the top of the window.
    If your problem persists, you know that the extension you disabled is not the source. Re-enable the extension whenever you want by selecting it and clicking Enable.
  5. How.com.vn English: Step 5 Click Plugins to view your list of active plugins.
    Plugins run in the background and give Firefox extra functionality, such as the ability to place Skype calls right from your browser.
    • Many issues stem from out-of-date plugins. You can bring your plugins up to speed all at once by clicking Check to see if your plugins are up to date at the top of the Plugins page.
  6. How.com.vn English: Step 6 Select a plugin by clicking it.
  7. How.com.vn English: Step 7 Click Always Activate or Ask to Activate and change to Never Activate.
    Just like with your extensions, disable one plugin at a time to test whether it's the source of Firefox's poor performance.
    • You don't have to restart Firefox after enabling or disabling a plugin.
  8. How.com.vn English: Step 8 Scroll to the bottom of the plugins list to view disabled plugins.
    Firefox sorts your plugins alphabetically and by its status. Disabled plugins sink to the bottom.
  9. How.com.vn English: Step 9 Click Never Activate and change to Ask to Activate or Always Activate depending on your preference.
  10. Advertisement
Method 4
Method 4 of 4:

Troubleshooting Other Alternatives

Download Article

In Firefox, press Alt + T to open a new tab, then close all other open tabs. Refreshing Firefox clears out all of your add-ons and settings, and returns to the browser to its default settings. To avoid losing important data, close those tabs and leave one blank tab open.

  1. How.com.vn English: Step 1 Click the Help menu > Troubleshooting Information.
    Remember to press Alt if you can't see the menu toolbar at the top of the screen.
  2. How.com.vn English: Step 2 Click Refresh Firefox on the upper-right side of the page.
  3. How.com.vn English: Step 3 When you're ready, confirm by clicking Refresh Firefox again.
    As a reminder, refreshing Firefox removes all of the add-ons you use to customize your browsing experience. You can easily re-download those later.
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • A good rule of thumb when changing settings in any program is to only change one setting at a time. That way, if the program behaves in a way it shouldn't, you know exactly which setting caused the change.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 17 people, some anonymous, worked to edit and improve it over time. This article has been viewed 171,602 times.
      How helpful is this?
      Co-authors: 17
      Updated: January 31, 2022
      Views: 171,602
      Categories: Firefox
      Thanks to all authors for creating a page that has been read 171,602 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement