web-feature: Online status

baseline logo Widely available in browsers but not in WebViews

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.

Notes

Unsupported keys in WebViews

  • Android WebView:
    api.Navigator.onLine api.WorkerNavigator.onLine

Support data provided by: BCD logo

Know something we don't?

Is any of the above data outdated? Or do you want to add a new WebView to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Please help us keeping this data updated

This feature was last updated on November 10, 2025.