Baseline Widely other
Online status
The navigator.onLine property is a boolean for whether the browser is connected to some network (though not necessarily the internet). The online and offline events fire when the connection state changes.
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Firefox 1.5
2005-11-29
Core-3 Stability
1,287d (3.5y)
Last: Safari (2009-06-08)
BCD Keys Mapped
6
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 1.5 | 2005-11-29 |
| Chrome | desktop | 2 | 2009-05-21 |
| Safari | desktop | 4 | 2009-06-08 |
| Safari on iOS | mobile | 3.2 | 2010-04-03 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome Android | mobile | 18 | 2012-06-27 |
| Edge | desktop | 12 | 2015-07-29 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.Navigator.onLine | DOM API | 1,287d (3.5y) |
| api.Window.offline_event | DOM API | 925d (2.5y) |
| api.Window.online_event | DOM API | 925d (2.5y) |
| api.WorkerGlobalScope.offline_event | DOM API | 4,594d (12.6y) limbo |
| api.WorkerGlobalScope.online_event | DOM API | 4,594d (12.6y) limbo |
| api.WorkerNavigator.onLine | DOM API | 231d |