3 ms·
What mechanism does the web site use to detect whether you're online or offline?
by nayuki 8y ago
What mechanism does the web site use to detect whether you're online or offline?
- pritambaral 8y agoLooks like browser events 'offline' and 'online': https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/Online_and_offline_events https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOn...