How do I check connection type (WiFi/LAN/WWAN) using HTML5/JavaScript?

See navigator.connection (prefixed). This API exposes information about the bandwidth of the client.

Leave a Comment