Global Index
HTML5 JS API Index > Offline Tutorials & Specs

NavigatorOnLine

Implemented by Navigator, WorkerNavigator

This type groups properties and / or operations together for documentation purposes and does not have an explicit JavaScript representation.

Properties
boolean
onLine
The navigator.onLine attribute must return false if the user agent will not contact the network when the user follows links or when a script requests a remote page (or knows that such an attempt would fail), and must return true otherwise.