We’re all trying to push the boundaries of the user’s experience when they interact with our software. Heyoffline.js from Oskar Krawczyk helps you to warn your users when their network goes down — that way when they are in the middle of a form or something super important that a page reload would kill, you can let them know how to react.

Heyoffline.js is framework-agnostic (no need for jQuery). It’s written in CoffeeScript, and compiled to JavaScript.