Connection Type

Back to Main

Your Current Connection Type

Loading...

Technical Classification

Type: JavaScript Property (navigator.connection.effectiveType)

Data Source: Browser's Network Information API

When Available: Chromium-based browsers (Chrome, Edge, Opera, Brave), limited support in other browsers

Return Type: String ('slow-2g', '2g', '3g', '4g')

Background & Purpose

The navigator.connection.effectiveType property is part of the Network Information API. It returns a string representing the effective connection type based on recent observed network performance, not the actual connection technology.

Historical Context:

Key Characteristics:

Connection Type Values

Four Possible Values:

Type Typical RTT Typical Downlink Description
slow-2g > 2000ms < 50 kbps Extremely slow connection, barely usable for web browsing. May indicate poor cellular signal or heavily throttled connection.
2g 1400-2000ms 50-70 kbps Slow connection typical of 2G cellular networks (EDGE/GPRS). Basic browsing possible but media loading is very slow.
3g 270-1400ms 70-700 kbps Moderate connection typical of 3G networks (HSPA). Suitable for most web browsing, slow for HD video.
4g < 270ms > 700 kbps Fast connection typical of 4G LTE, 5G, cable, or fiber. Suitable for HD video streaming and large downloads.

Important Notes:

Real-World Examples:

Common Uses

Legitimate Uses:

Example Implementation:

Platform Differences

Browser Support:

Browser Support Notes
Chrome Yes (v61+) Full support, most reliable implementation
Edge Yes (v79+) Full support on Chromium-based Edge
Opera Yes (v48+) Full support
Brave Yes Chromium-based, full support
Firefox No Not implemented; navigator.connection returns undefined
Safari No Not implemented; navigator.connection returns undefined
Mobile Chrome Yes Works on Android
Mobile Safari No Not supported on iOS

Detection Code:

Always check for API availability before use:

Why Limited Support?:

Privacy Implications

Tracking Risk: LOW-MEDIUM

Privacy Concerns:

Why Low-Medium Risk:

Combined Fingerprinting Risk:

User Control & Protection

How to Control or Hide Connection Type:

Browser Settings:

Privacy Extensions:

Developer Tools:

Testing Current Value:

Limitations of Control:

Privacy Best Practices:

Additional Resources