Stop Firefox going offline automatically
Beware this content is over 9 years old and considered stale. It may no longer be accurate and/or reflect the understanding of the author but remains here for reference only. Please keep this in mind as you use this content.
A short post with a handy tip, mostly for posterity but for those that may stumble across this post in the future.
From my experience it seems to occur when my computer has been inactive for an extended period of time to the point where my screen saver kicks in and my screen locks.
When I log back in I tried to refresh my pages in Firefox or navigate to a different page only to be told that I’m working offline.
This auto-offline mode seems to kick in when you’ve been idle for a long period or your screen locks after inactivity.
Once you’ve set Firefox to work online (Untick ‘Work Offline’ under the File menu option), you can prevent it from automatically setting Work Offline by changing the configuration settings in Firefox and it only takes two easy steps.
But before you do anything it would be wise to backup your preferences, just in case. You’ll find your
prefs.js at the following directory (amend the sections in bold for your setup):
C:\Documents and Settings\**USERNAME**\Application Data\Mozilla\Firefox\Profiles\**ABCDEF1234**.default
- Open Firefox and navigate to:
about:config(Firefox will ask if you know what your doing!)
- Search for:
toolkit.networkmanager.disableand set it to
- If the entry does not exist:
i. Right-click in the preferences window and select ‘New’ and then ‘Boolean’.
ii. Give it the name
toolkit.networkmanager.disableaand set it to
- Restart Firefox.
That should be it.
Hope that helps any perplexed Firefox users out there.
Find more information on
toolkit.networkmanager.disable at mozillaZine.