When it comes to building the perfect experience for your site, sometimes even the subtlest details can scare off users — especially when it comes to tediously entering in form data. That’s why Garic.js, a plugin which stores form values locally, was such a hit.
Now, after hunting for more solutions to help keep users on your side, we’ve discovered Heyoffline.js, a tool which warns your users when their network goes down to make sure they don’t lose anything.
To use, simply link the .js file in your HTML and add the following snippet:
Here’s the (customizable) alert you’ll receive after going offline:
Image via Emma Weber