Skip to content

Block private browsing mode detection #11543

@antonok-edm

Description

@antonok-edm

A number of websites use the navigator.storage.estimate() API to detect users in private browsing mode. That API returns a hard-limited quota of 120MB in private browsing, and larger values otherwise.

This has been proposed in Chromium, but appears to be a wontfix as the quota is intended to be kept fully in-memory for private browsing sessions.

There are several options here, including increasing the available quota as a temporary workaround, or simply lying about the available space (it is an estimate, after all!).

Edit: for future reference, the QA pass for Android below was completed using the following HTML:

<html>
    <body>
    <script>
        navigator.storage.estimate().then(estimate => alert(estimate.quota))
    </script>
    </body>
</html>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions