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. The easiest way to add Offline to your site is with Eager. Improve the experience of your app when your users lose connection. Include the javascript, one of the themes, and one of the languages on your site. You're done! To use only the JavaScript API without a UI indicator, simply leave out the CSS file. If you'd like to get a peek at how it looks on your site, disconnect your internet, or try out the simulator. Optionally, you can provide some configuration by setting Offline.options after bringing in the script.

Features

  • Monitors ajax requests looking for failure
  • Confirms the connection status by requesting an image or fake resource
  • Automatically grabs ajax requests made while the connection is down
  • Remakes ajax requests after the connection is restored
  • Simple UI with beautiful themes
  • 3kb minified and compressed

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Offline.js

Offline.js Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Offline.js!

Additional Project Details

Registered

2021-06-30