Your Search Results

    NavigatorOnLine

    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
    WHATWG HTML Living Standard Living Standard No change from HTML5
    HTML5 Candidate Recommendation Initial specification.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
    Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support (Yes) (Yes) (Yes) (Yes) (Yes) (Yes)

    See also

    • The Navigator interface that implements it.

    Document Tags and Contributors

    Tags:
    Contributors to this page: teoli
    Last updated by: teoli,