Skip to Content
Platform.Ontology

Private browsing detection

Infers whether the browser is in a private or incognito window.

Gets silentlyDevice detailsBrowser stateWeb browsersWhen the page loadsWhile you use it

In one line

Can often tell if you are in a private window, until browsers close the gaps

Infers whether the browser is in a private or incognito window.

Sites use it for metered paywalls and fraud scoring. Browsers keep closing the leaks (quota size, filesystem API, IndexedDB errors), so any method has a short life.

What it can and can't do

What the user does: Nothing. It happens when the page loads

It can

  • Check storage size and errors that differ in private mode
  • Block a metered paywall trick or add a fraud score
  • Ask you to leave the private window

It cannot

  • See what you browse in the private window
  • Work for long; browsers keep fixing these tells
  • Be certain; each method can fail
  • Stop the private window from working

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported612017-09-05None
EdgeSupported792020-01-15None
FirefoxSupported572017-11-14None
SafariSupported172023-09-18None
Safari on iPhoneSupported172023-09-18None
Chrome on AndroidSupported612017-09-05None
Samsung InternetSupported8.02018-07-18None

How a site asks for it

APInavigator.storage.estimate() quota, IndexedDB open errors, FileSystem API, timing
Browser compat keysapi.StorageManager.estimate
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
privatebooleanNoneinferred true or falsedetector dependent

Technical limits

  • No official API
  • Each method patched within months
  • Cannot see history or cookies of the normal window

The story

What it is

Guesses whether you are in a private or incognito window.

For you

You never see the check. You may notice a site that refuses to open a free article in private mode, or asks you to sign in. Your private window looks like any other, but the site may treat it differently.

For makers

Publishers use it to enforce free article limits that would reset in a private window. Fraud teams treat private browsing as a mild risk signal. Browsers keep closing the clues, so each method works only a short time.

Where you see it

TypeExampleApps
newsA newspaper with a few free articles a month blocks private windows, since they would reset the counter.The New York Times, The Washington Post
securityA payments fraud system adds risk when a new account is created in private mode.Stripe Radar
shoppingA retail site cannot keep your cart across visits in private mode and shows a note.None named
gamesA browser games portal tells you progress will be lost when you close the private window.None named
bankingA bank notes that a login came from a private window and may ask for an extra code.None named
adsAn ad vendor treats private browsers as users who opted out of tracking.None named
educationAn online exam provider blocks private windows to stop hidden helper tools.None named

Risks

  • May block people who value privacy
  • Detection tricks change often

What the platform says

Good uses and abuse

Legitimate uses

  • Metered paywall
  • Fraud scoring

Known abuse

  • Treating private users as suspect

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits0.5Rough identifying entropy, when known

A real example: LinkedIn

Incognito or private mode detected. Read by the LinkedIn APFC fingerprint script (48 features, alleged by BrowserGate, partly confirmed by BleepingComputer).

History

  • 2019-07, Chrome 76: FileSystem API incognito leak closed
  • 2023-07, Firefox 115: IndexedDB private-mode error removed

Sources

How well checked: Inferred from related behavior.

On this page