--- title: NavigatorOnLine slug: Web/API/NavigatorOnLine tags: - API - HTML-DOM - NeedsTranslation - TopicStub translation_of: Web/API/NavigatorOnLine ---
{{APIRef("HTML DOM")}}
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 {{domxref("Navigator")}} or {{domxref("WorkerNavigator")}}, implement it.
The NavigatorOnLine
interface doesn't inherit any property.
The NavigatorOnLine
interface neither implements, nor inherit any method.
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', '#navigatoronline', 'NavigatorOnLine')}} | {{Spec2('HTML WHATWG')}} | No change from the latest snapshot, {{SpecName('HTML5 W3C')}} |
{{SpecName('HTML5 W3C', '#navigatoronline', 'NavigatorOnLine')}} | {{Spec2('HTML5 W3C')}} | Snapshot of {{SpecName('HTML WHATWG')}} with its initial specification. |
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
on {{domxref("WorkerNavigator")}} | {{CompatUnknown}} | {{CompatGeckoDesktop(29)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
on {{domxref("WorkerNavigator")}} | {{CompatUnknown}} | {{CompatGeckoMobile(29)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |