This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The effectiveType read-only property of the NetworkInformation interface returns the effective type of the connection meaning one of 'slow-2g', '2g', '3g', or '4g'. This value is determined using a combination of recently observed, round-trip time and downlink values.


var effectiveType = NetworkInformation.effectiveType


A String containing one of 'slow-2g', '2g', '3g', or '4g'.


Specification Status Comment
Network Information API
The definition of 'effectiveType' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 61 ? ? 48 ?
Available in workers 61 ? ? 48 ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support 50 38 ? ? ? 37 ?
Available in workers 50 38 ? ? ? 37 ?

Document Tags and Contributors

Contributors to this page: diaboltron, jpmedley
Last updated by: diaboltron,