[Snippet] Testing the online/offline status of the Internet connection with JavaScript » score: 12.748358