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

    Interface DetectionResult

    Rich result returned by detectIncognito.

    interface DetectionResult {
        browser: BrowserName;
        confidence: DetectionConfidence;
        isPrivate: boolean;
        quota: number | null;
        strategy: DetectionStrategyName;
    }
    Index

    Properties

    browser: BrowserName

    Coarse engine the detector classified the browser as.

    Detector's qualitative confidence in isPrivate.

    isPrivate: boolean

    Whether the browser appears to be in private / incognito mode.

    quota: number | null

    Storage quota in bytes reported by navigator.storage.estimate() when the quota strategy ran. null for the OPFS and legacy strategies.

    Identifier of the strategy that produced the verdict.