I suspect that firefox picks up your Windows Settings for this.
Try firing up Internet Options from Windows Control Panel or - Ugh - starting up IExplorer and setting options from there.
Get to 'Connection' and set your options from the tab shown. Use the not so plain English option of:
Only connect when not working off-line ??
I think you have this set to