Comment Comment by catfood A 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"); }); }; parent catfood 7 years ago
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"); }); };