현재 번역은 완벽하지 않습니다. 한국어로 문서 번역에 동참해주세요.

The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.

There is no object of type NavigatorOnLine, but other interfaces, like Navigator or WorkerNavigator, implement it.

Properties

The NavigatorOnLine interface doesn't inherit any property.

NavigatorOnLine.onLine Read only
Returns a Boolean indicating whether the browser is working online.

Methods

The NavigatorOnLine interface neither implements, nor inherit any method.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'NavigatorOnLine' in that specification.
Living Standard No change from the latest snapshot, HTML5
HTML5
The definition of 'NavigatorOnLine' in that specification.
Recommendation Snapshot of HTML Living Standard with its initial specification.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) (Yes) (Yes) (Yes) (Yes)
on WorkerNavigator ? ? 29 (29) ? ? ?
Feature Android Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) (Yes) (Yes) (Yes) (Yes) (Yes)
on WorkerNavigator ? 29.0 (29) ? ? ? ? ?

See also

문서 태그 및 공헌자

 이 페이지의 공헌자: chrisdavidmills
 최종 변경: chrisdavidmills,