Skip to content

Instantly share code, notes, and snippets.

View RemcoSmitsDev's full-sized avatar

Remco Smits RemcoSmitsDev

View GitHub Profile
async function isInCognito() {
const fs = window.RequestFileSystem || window.webkitRequestFileSystem;
if (!fs) {
return false;
}
let isInCognito = false;
await fs(