Firefox offline detection

A quickfix for one annoying Firefox 3 behavior. Since version 3 Firefox has the ability to detect if the networkmanager in Linux is connected to a network. If so, then Firefox will pop in to online mode, otherwise it will go into offline mode.
Very annoying if you’re sitting in the train using wvdial (or any other dialer outside networkmanager) to connect to a 3G network, and have to disable offlline mode over and over again.

This workaround will keep your Firefox in online mode:

  1. Type about:config in the addressbar.
  2. Search for the setting called toolkit.networkmanager.disable
  3. Set its value to true

Your Firefox will not pop into offline mode by itself anymore.