Skip to Main Content

Failsafe Message for Lost Connection or Low Battery

Posted on 9.21.2013

Anyone that's ever called themself an Internet professional, working late into the evening, has encountered a  "peril" situation - lost internet connectivity or more commonly a low batterly level warnings that leave you scrambling to save the work you've been doing before everything goes dark. 

FailSafe is a jQuery plugin to help your application work correct even in peril situations. In other words, it takes care of situations like Lost Internet Connectivity and Low Battery Level. When a user loses Internet Connectivity or his laptop's Charge goes down, this plugin shows a very user-friendly message to the user. Optionally, this plugin can also disable some of the elements in the page which may require proper Internet Connectivity or Higher Battery Level to function properly.

If the plugin is initialized with - disableElements:[jQuery/CSS selector] - then those elements will be disabled for the two peril situations stated above.

WebsiteMagazineMiniLogo

Leave Your Comment

Login to Comment

Become a Member

Not already a part of our community?
Sign up to participate in the discussion. It's free and quick.

Sign Up

 

Leave a comment
    Load more comments
    New code
  •    
      

    The Ultimate Guide to Personalization

    Kibo