3 ms·
Even better. Is there seriously not a better way to check online/offline status that polling a URL? Seems so sloppy.
by meritt 8y ago
Even better. Is there seriously not a better way to check online/offline status that polling a URL? Seems so sloppy.
- pritambaral 8y agohttps://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/Online_and_offline_events https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOn...