leaktestbrowser

Entry 12 of 17

Identifier survival — what outlives the tab you set it in

Identifier survival is the question of whether a page can place a mark on your machine that outlives the tab — a writable `localStorage` is enough, and `navigator.storage.persist()` asks the engine to exempt that storage from eviction entirely. It matters more than most fingerprint signals for a blunt reason: a tracker only needs a fingerprint when the identifier does not survive.

What makes an identifier outlive a session?

Every other row on this form describes what you disclose once. This one describes whether a page can make you disclose the same thing again tomorrow.

A writable localStorage is enough to place an identifier that survives navigation, tab closure and restart. navigator.storage.persist() goes further: it asks the engine to exempt this origin's storage from eviction under disk pressure. navigator.storage.persisted() reports whether that already happened, without asking for anything.

The observation here is not that storage exists — it does, everywhere. It is whether it is writable in this context and whether persistence is grantable, because those two together determine whether a fingerprint is even needed. An identifier that survives is cheaper and more accurate than a fingerprint that has to be recomputed.

This is also the row that explains why a fingerprint matters at all. Fingerprinting is what a tracker reaches for when the identifier does not survive. A profile that clears storage between sessions and presents an identical fingerprint each time has swapped one durable identifier for another.

What survival tells a site it can skip

  • Whether an origin can place a durable identifier on this machine right now.
  • Whether this origin has already been granted persistent storage in a previous session.
  • Whether the context is one where storage is partitioned or blocked, which is itself a mode signal.

Does a VPN stop a site from recognising me again?

This is the row where a tunnel is least helpful and most often believed to help. A new exit gives you a new address; it does not give you a new localStorage. If an identifier written yesterday is still readable today, the address it is read from is not the interesting part of the visit.

The corollary is the useful one. Anyone who changes exits between sessions but not storage has changed the one thing a site was not relying on and kept the one it was.

Clearing storage without changing anything else has its own consequence: a browser that presents identical values every session while arriving with no storage has swapped a durable identifier for a durable fingerprint. Both are durable; only one of them you chose.

How each engine limits storage lifetime

Engine What it does today
Chromium Grants persistence from site-engagement heuristics without a prompt, so persisted() can return true for a site you never consciously trusted.
Firefox Prompts for persistent storage, and Total Cookie Protection partitions storage per top-level site so an identifier does not follow you across first parties.
Safari Intelligent Tracking Prevention caps script-writable storage lifetime for origins without a first-party interaction, which limits survival regardless of what is written.
Tor Browser Storage is partitioned by first party and cleared when the identity is reset, which is the closest any of the four comes to removing this vector.

How to stop identifiers surviving

Clear site data on close, or use a container or profile per activity so an identifier cannot span them.

Do not grant persistent storage to sites that do not need offline data; on engines that grant it silently, review it rather than assume it was never given.

Ephemeral profiles remove the vector completely for the session, at the cost of every convenience storage provides.

What the mitigation costs

Clearing storage on close signs you out of everything, discards offline data and re-triggers every cookie banner and second-factor challenge you had already dealt with.

How to check whether storage persists for you

Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.

  1. In a console, write and read a key: localStorage.setItem('t','1') then localStorage.getItem('t'). If it round-trips, an origin can leave a mark on this machine right now.
  2. Then await navigator.storage.persisted(). It reports whether this origin's storage is already exempt from eviction, and it asks for nothing to find out.
  3. Close the browser, reopen it, and read the key again. That is the whole of what survival means and it takes ten seconds to establish.
  4. Review the sites that hold persistent storage in your browser's site-data settings. On Chromium, persistence can be granted from engagement heuristics without a prompt, so the list may include origins you never consciously trusted.

Persistent storage and tracking questions

Asked often enough about this vector to be worth answering on the entry itself.

Does clearing cookies stop a site from recognising me?
It removes one class of identifier. `localStorage`, IndexedDB and persisted storage are separate stores, and a site data clear that covers cookies alone leaves them intact. Clearing site data for an origin is the operation that covers all of it.
Can a site give itself persistent storage without asking me?
On Chromium, persistence can be granted from site-engagement heuristics with no prompt, so `persisted()` can return true for an origin you never deliberately trusted. Firefox prompts instead. Reviewing what already holds it is more useful than assuming it was never given.
Is a private window enough to prevent identifier survival?
It prevents survival past the window's lifetime, which is a real thing to want. It also changes your storage quota into the small figure that identifies a private context, so it removes one signal and adds another. That trade is the honest description of it.
If I clear storage every session, am I anonymous?
No, and this is the row that explains why fingerprinting exists at all. Clearing storage is what makes fingerprinting worth doing; a browser that presents an identical fingerprint each time it arrives with clean storage is still linkable. The two have to be addressed together.

Entry 12 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.

Read this row on your own form.

Entry 12 appears on the declaration as Identifier survival. The form reports this row as a finding, as unread, or as nothing taken, never as a tick.

Complete the declaration · Mitigations ranked by cost · How a finding is produced

Close it before a page can read it.

Storage and fingerprint have to be separated together or neither is separated at all. Donut Browser's unit is the profile: its own storage, its own proxy, its own fingerprint, with ephemeral profiles for sessions that should leave nothing behind, and a pre-launch gate that refuses to start when the proxy and the fingerprint disagree about where you are. AGPL-3.0, no telemetry of any kind, and installable from a signed and notarized build on macOS, an installer or a portable binary on Windows, and a deb, rpm or AppImage on Linux.

Stated because the repository proves it. This site has run no detection benchmark against any vendor and publishes none.