New issue
Advanced search Search tips

Issue 739231 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

bostonglobe.com detects incognito mode

Project Member Reported by paulir...@chromium.org, Jul 5 2017

Issue description

IIRC, it's a design principle of incognito mode that it's undetectable.

However I've noticed bostonglobe blocks users using incognito. 
This happens in both mobile and desktop. Screenshot attached.

Test URL: http://www.bostonglobe.com/metro/2017/07/03/bush-kennebunkport-the-town-and-its-people-are-part-heartbeat/nDxW0qlyB6mcljoMfU86gK/story.html
 
Screen Shot 2017-07-04 at 5.53.46 PM.png
218 KB View Download
Description: Show this description
Components: Blink>Storage>FileSystem
Within their JS I found a detectPrivateMode function which seems roughly based around this gist: https://gist.github.com/cou929/7973956

The key lines that trigger detection are these:
    var is_private;

    if (window.webkitRequestFileSystem) {
        window.webkitRequestFileSystem(
            window.TEMPORARY, 1,
            function() {
                is_private = false;
            },
            function(e) {
                console.warn(e);
                is_private = true;
            }
        );
    }


Components: Privacy
Mergedinto: 93417
Owner: pwnall@chromium.org
Status: Duplicate (was: Untriaged)

Sign in to add a comment