is-incognito-mode - v2.3.0
    Preparing search index...

    Type Alias DetectionStrategyName

    DetectionStrategyName:
        | "chromium-quota"
        | "opfs-probe"
        | "firefox-indexeddb"
        | "safari-storage"
        | "legacy-edge"

    Stable identifiers for the detection strategies. Useful for debugging and analytics.

    • chromium-quota — Chromium-family: the headroom of navigator.storage.estimate(), i.e. quota - usage. Chrome's predictable-reported-quota (default since Chromium 147) reports quota = usage + 10 GiB in a normal tab but usage + 9 GiB in incognito — a stable 1 GiB gap that survives the mitigation.
    • opfs-probe — Firefox / Safari: navigator.storage.getDirectory() (Origin Private File System) is rejected in private mode.
    • firefox-indexeddb — Older Firefox without OPFS: indexedDB.open error.
    • safari-storage — Older Safari / WebKit without OPFS: localStorage + openDatabase probes.
    • legacy-edge — Legacy Edge / IE: PointerEvent + indexedDB heuristic.