Use library Offine.js (http://github.hubspot.com/offline/docs/welcome)
What is Offline.js?
Offline.js is a library to automatically alert your users when they've lost internet connectivity, like Gmail.
It captures AJAX requests which were made while the connection was down, and remakes them when it's back up, so your app reacts perfectly.
It has a number of beautiful themes and requires no configuration.
Project information
- Project categories: Developer tools
- Created by maxasus123 on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.



