Firefox StayInOnlineMode Prevents Switching State To Offline Mode

Martin Brinkmann
Jan 29, 2011
Updated • Nov 27, 2012
Firefox, Firefox add-ons

While I personally never had difficulties with Firefox's built-in offline mode and automatic state switching to it, I have had contact with users who reported that this happened regularly in their version of Firefox.

Firefox switches to offline mode if it cannot detect a connection to the Internet. This can happen on startup or at any time when the browser is running on the system. Some users mentioned that Firefox would switch to offline mode automatically even if an online connection was available at that time.

We have previously mentioned how to prevent Firefox from entering work offline mode by adding a hidden parameter to the Firefox configuration. Not every user on the other hand is comfortable editing those settings in the browser.

Those users can now install the Firefox add-on StayInOnlineMode for the very same effect:

Firefox 3.5+ might start in offline mode if there is no net connection available. While being in online mode even short connection interruptions can also cause Firefox to switch to offline mode. If you frequently run web applications unattended, then unexpected switching to offline mode can easily break the workflow. This small addon forces Firefox to stay online while still allowing a user to manually switch to offline mode if required.

The extension keeps Firefox online all the time and prevents any attempt to switch to offline mode. The only option to switch to offline mode is if the user initiates the change manually from the Firefox menu.

The add-on is compatible with all Firefox versions starting with Firefox 3.5 and including the latest builds of Firefox 4. Firefox users who experience regular automatic changes to offline mode may use the add-on to prevent this from happening.

Update: The Stay in Online Mode add-on for the browser has been removed by its author from Mozilla's Add-on repository. There does not seem to be a comparable extension available at this point in time.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Gavin said on January 30, 2011 at 3:36 am
    1. Martin said on January 30, 2011 at 11:05 am

      Gavin yes it does. Not sure why you link to the Lifehacker article which links back to my guide that is referenced here in the article.

  2. uploading said on January 29, 2011 at 11:04 pm

    Firefox is very distinctive.

  3. Mushaf said on January 29, 2011 at 7:44 pm

    I just don’t understand why is it necessary to have a offline mode in browser. If there is no connection detected the browser should just say ‘No connection found’. Instead, why would it go to a permanent offline mode?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.