Incognito and private mode detection
Guesses whether the browser is in private mode using storage quota behavior.
In one line
Can guess whether you are in a private or Incognito window
Guesses whether the browser is in private mode using storage quota behavior.
Tells the site when someone is deliberately browsing privately. LinkedIn's script uses the FileSystem quota (Chrome 74 and older) or storage.estimate.
What it can and can't do
What the user does: Nothing. It happens when the page loads.
It can
- Test how much storage it gets, to guess private mode
- Change what it shows, such as article limits
- Add the guess to a profile of you
It cannot
- Be sure, since the guess can be wrong as browsers change
- See your history or what you do in the private window
- Tell your name or account from this
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 61 | 2017-09-05 | estimate() |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 57 | 2017-11-14 | None |
| Safari | Supported | 17 | 2023-09-18 | None |
| Safari on iPhone | Supported | 17 | 2023-09-18 | None |
| Chrome on Android | Supported | 61 | 2017-09-05 | None |
| Samsung Internet | Supported | 8.0 | 2018-07-18 | None |
How a site asks for it
| API | webkitRequestFileSystem quota; navigator.storage.estimate() |
| Browser compat keys | api.StorageManager.estimate |
| 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: Incognito and private mode detection
Shape: boolean
How often: read on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
incognito | boolean | None | Not listed | heuristic |
Technical limits
- Browsers keep closing the leaks
- Heuristic, can be wrong
The story
What it is
A site guesses whether you are in private mode by testing how the browser stores data.
For you
You are never asked and never see it. A site can notice that private mode saves less data, and may then change what it shows you.
For makers
Makers use it to enforce paywalls, spot fraud and avoid broken sites. Some publishers hide articles or ask people to log in. Privacy groups say this penalises people who want privacy.
Where you see it
| Type | Example | Apps |
|---|---|---|
| news | A news site notices private mode and blocks the free article count, asking you to sign in. | None named |
| security | A bank or fraud service treats a private mode login as a little riskier and may add a code step. | None named |
| ads | An ad network sees private mode and does not store a profile ID for this visit. | None named |
| games | A browser game warns that your progress cannot be saved in private mode. | None named |
| shopping | A store warns that the cart will vanish when you close the private window. | None named |
| analytics | A site team counts private mode visits to understand how many are missing from stats. | None named |
Risks
- Penalises privacy
- Not fully reliable
Good uses and abuse
Legitimate uses
- Paywall metering
Known abuse
- Singles out privacy seekers
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 | 1 | Rough identifying entropy, when known |
A real example: LinkedIn
Collector key(s): incognito.
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 StorageManager.estimate
- mdp/linkedin-extension-fingerprinting (LinkedIn script snapshot and ID list)
How well checked: Based on official documentation.