How-To Geek

Disable JavaScript in Firefox the Easy Way

Want a quick and easy way to toggle JavaScript on and off in Firefox? Then you will definitely want to take a good look at the JS Switch extension.


There are three ways to set up access to JS Switch. The first is through the “Customise Toolbar Window”.


To activate the other two you will need to open the “Options Window” and select the method that you prefer best.


If you activate the “Tools Menu” option, there will be a singular entry that will have a check mark beside it when JavaScript is enabled.


The “Status Bar Button” will display in a red color when JavaScript is enabled and in a light gray color when it is not.


JS Switch in Action

For our example we chose to use the “Toolbar Button”. As you can see JavaScript is enabled (red color). To deactivate JavaScript in your browser simply click on the button.


If you already have a webpage loaded like in our example, you just need to refresh that particular page. Until you re-enable JavaScript all webpages that you browse will have their JavaScript disabled. Notice the gray color of the “Toolbar Button”…


Depending on how heavily a particular website uses JavaScript you can expect to see varying results in how the pages look. In our example you can see that AirSet depends heavily on JavaScript and the webpage is practically non-functional.



If you are looking for a quick “no questions asked” method for enabling/disabling JavaScript in Firefox, then this extension will make a nice addition to your browser.


Download the JS Switch extension (Mozilla Add-ons)

Download the JS Switch extension (Extension Homepage)

Akemi Iwaya is a devoted Mozilla Firefox user who enjoys working with multiple browsers and occasionally dabbling with Linux. She also loves reading fantasy and sci-fi stories as well as playing "old school" role-playing games. You can visit her on Twitter and .

  • Published 12/24/09

Comments (4)

  1. Lester


    I’ve read several of your “How to..”articles. Most of which I read because I’ve hears of issues by word of mouth and that I should….with Vista….JavaScript….and so on.

    But, I prefer to to read an article on the issues and the reasons why some prefer to use the download, or change my browser or other software; i.e. disable Javasript in Firefox. OK, but why? I have heard this from several people, but without a clear explanation of the benefits or differences when Javascript is disabled. Do you have articles of this nature?



  2. TheFu


    There are many reasons to disable javascript. To speed the overall internet experience, to avoid malware, to avoid some web tracking techniques.

    For me, the biggest reason to disable javascript, by default, is security related. Here’s a podcast transcript on JavaScript insecurity: There are many bad people out there trying (and being successful) to hack popular sites with powerful javascript and other content (swf) that is used to gain unapproved access to all our computers. The easiest way to avoid getting malware or spyware is to disable javascript for almost all web sites and only enable it when absolutely necessary.

    I’ve been using the FF extension NoScript, which appears to offer finer control than this app, but this app may be more user friendly.

  3. RobCr

    I have dozens of Tabs open, and it runs like a dog.
    I use NoScript (everyone should).
    I decided to use FF’s option to turn off all Javascript, and suddenly my ‘runs like a dog’ has fixed itself.
    Rather than use the trick described in this article, could I just leave JavaScript off.
    I suppose what I am asking is would NoScript be capable of turning JS on temporarlily (which is one of it’s options), IN SPITE OF THE FACT THAT FF HAS JS TURNED OFF ?

  4. RobCr

    When I said ‘would NoScript be capable of turning JS on temporarily’
    I meant NoScript’s option to turn on JS temporarily in the current Tab.

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!