Skip to content

Instantly share code, notes, and snippets.

@Loonz806
Last active April 20, 2020 15:36
Show Gist options
  • Save Loonz806/27d240de636a7519358547e5a2e0e587 to your computer and use it in GitHub Desktop.
Save Loonz806/27d240de636a7519358547e5a2e0e587 to your computer and use it in GitHub Desktop.
let 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"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment