Handle User Internet Disconnections Nicely With Offline.js
It is sometimes the network our the computer but losing the internet connection happens to everyone.
And, when this happens to the users while they are browsing your website, we can inform them nicely so that they easily know “the problem is not about the site”.
Also, it re-sends any failed Ajax requests once the connection is back so that the users are not affected at all.
The library is plug ‘n’ play with no setup and it comes with multiple good-looking themes.