Online/offline detection example

Uses the navigator.onLine property which is polled every 250 ms

Current network status: checking...