One click offline button for Mozilla Firefox

To instantly toggle offline and online modes in Mozilla Firefox, you have to install an add-on called work offline. This add-on puts up a small plug like button which sets itself on the status bar. You can click on it to toggle your internet connectivity to the browser on and off.
The add-on can be downloaded from addons.mozilla.org.