web-feature: Network Information
The navigator.connection API provides information about the network connection a device is using and fires events when the connection type changes.
The navigator.connection API provides information about the network connection a device is using and fires events when the connection type changes.