Network Information (downlink, rtt, effectiveType)
Reads estimated connection speed, type and latency.
In one line
Can see roughly how fast and what type your connection is, in Chrome and Edge
Reads estimated connection speed, type and latency.
Reveals if the person is on Wi-Fi, cellular or slow links; changes over time so useful for short term session linking.
What it can and can't do
What the user does: Nothing. It happens when the page loads and while you stay on it
It can
- Check if your connection looks like Wi-Fi, cellular or slow
- See rough speed and delay figures, rounded in coarse steps
- Notice when your connection changes and use it to link short visits
- Load lighter pages when your link is slow
It cannot
- See your exact speed or your provider
- Work in Firefox or Safari, which do not offer it
- See your name or location from this alone
- Tell Wi-Fi from cellular in most cases outside Android
How it differs between platforms: Chrome, Edge and Samsung Internet share it. Firefox and Safari, including all iPhone browsers, do not.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 61 | 2017-09-05 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Not supported | Not available | Not listed | None |
| Safari | Not supported | Not available | Not listed | None |
| Safari on iPhone | Not supported | Not available | Not listed | None |
| Chrome on Android | Supported | 38 | 2014-10-08 | None |
| Samsung Internet | Supported | 3.0 | 2015-04-10 | None |
How a site asks for it
| API | navigator.connection |
| Browser compat keys | api.NetworkInformation |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Script reads the value
- Value joins the fingerprint payload
Data you get
What comes back: Network Information (downlink, rtt, effectiveType)
Shape: object
How often: on change
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
downlink | float | Mbps | 0 to 10 | 0.025 |
downlinkMax | float | Mbps | Not listed | Not listed |
type | enum | None | wifi, cellular, ethernet | Not listed |
effectiveType | enum | None | slow-2g, 2g, 3g, 4g | Not listed |
rtt | integer | ms | 0 to 3000 | 25 ms |
saveData | boolean | None | Not listed | Not listed |
Technical limits
- Rounded values
- Not in Safari or Firefox
The story
What it is
A page can read how fast and stable your connection seems to be, like Wi-Fi or slow 4G.
For you
You never see a prompt. If your signal is weak, a site may load smaller pictures or lower video quality without telling you. On a strong connection it shows the best version.
For makers
Makers use it to adjust quality, skip heavy features and measure real world speeds across customers. The same numbers add a small clue to a browser fingerprint. Only Chromium browsers share them.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | A streaming site starts a video at lower quality when the reported speed is poor, so the first frame shows quickly instead of a spinner. | YouTube |
| games | A browser 3D game picks smaller textures and fewer effects on a slow connection, so a player on a train can still load the level. | None named |
| shopping | A store sends lighter product pictures to shoppers on slow mobile data, which keeps them from leaving before the page loads. | None named |
| analytics | A performance dashboard groups page speed by reported connection type, to show how real customers on 3G and Wi-Fi are doing. | Google Analytics |
| news | A news site turns off auto loading videos on slow lines to keep articles readable. | None named |
| productivity | A web design tool such as Figma pauses background downloads of large files when the connection looks weak. | Figma |
| ads | An ad script uses the connection type and speed with other values to build a fingerprint of a device. | None named |
Risks
- Adds to a fingerprint
- Estimates can be wrong
What the platform says
- MDN Web Docs: Network Information API. Pages can adapt to a slow or fast connection by reading its estimated type, speed and delay.
Good uses and abuse
Legitimate uses
- Adaptive loading
Known abuse
- Short term linking
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 3 | Rough identifying entropy, when known |
A real example: LinkedIn
Collector key(s): networkInfo.
Related capabilities
Related
- APFC / DNA device fingerprint (abuse prevention features). Can collect about 48 device traits and send them in secret with later requests
Sources
- MDN NetworkInformation
- BrowserGate: how it works (48 feature table)
- mdp/linkedin-extension-fingerprinting (LinkedIn script snapshot and ID list)
How well checked: Based on official documentation.