Vérifier le statut en ligne javascript

// In Console type
>navigator.onLine  // Boolean to check online status
Frustrated Developer