Is it possible to determine if Google Chrome is in incognito mode via a script?
I've tried this code also but doesn't work for me.
var fs = window.RequestFileSystem || window.webkitRequestFileSystem;
if (!fs) {
console.log("check failed?");
} else {
fs(window.TEMPORARY,
100,
console.log.bind(console, "not in incognito mode"),
console.log.bind(console, "incognito mode"));
}
Can we get the browser incognito checker in angular or using javascript?