4 ms·
NYT knows i am in private mode - how is it figuring that out?
by zknz 7y ago
NYT knows i am in private mode - how is it figuring that out?
- catfood 7y agoA bunch of different ways probably. This method is stolen from SO (works for Chrome): const detect = () => { var fs = window.RequestFileSystem || window.webkitRequestFileSystem; if (!fs) { console.log("FS check failed.."); return; } fs(window.TEMPORARY, 100, function (fs) {}, function (err) { console.log("Incognito"); }); };
- tyingq 7y agochrome://flags/, as of Chrome 74, has a setting "Filesystem API in Incognito". Enable that and this way of detecting incognito stops working.