Scripting
Firefox Disable Offline
Disable Firefox Offline Detection
When the network goes down on a Linux machine, firefox detects this and switches to 'offline mode' so when you try to use it to connect to a local web server (eg a local webrick) you have to turn it back on again.
Disable this with :
about:config >
set 'toolkit.networkmanager.disable' to 'true'