Navigator Object
The onLine property returns a Boolean value that specifies whether the system is in offline mode.
![]()
The onLine property is supported in all major browsers.
Navigator Object
Your message has been sent to W3Schools.