Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var fs = window.RequestFileSystem || window.webkitRequestFileSystem;
if (!fs) {
result.textContent = "check failed?";
return;
}
fs(window.TEMPORARY, 100, function(fs) {
console.log('not in incognito mode');
}, function(err) {
console.log('is in incognito mode');
});
@voxsar

This comment has been minimized.

Copy link

voxsar commented Aug 2, 2016

what does it do?

@suuuzi

This comment has been minimized.

Copy link
Owner Author

suuuzi commented Aug 2, 2016

check if the browser is incognito mode or not

@subversivo58

This comment has been minimized.

Copy link

subversivo58 commented Jan 24, 2018

Great! Very thanks, this work fine 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.