Firefox StayInOnlineMode Prevents Switching State To Offline Mode - gHacks Tech News

Firefox StayInOnlineMode Prevents Switching State To Offline Mode

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.


We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Previous Post: «
Next Post: »


  1. 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?

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

    Firefox is very distinctive.

  3. 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.

Leave a Reply

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

Please note that your comment may not appear immediately after you post it.

Be polite: we do not allow comments that threaten or harass, or are personal attacks. Please leave politics and religion out of discussions!