Skip to content

Instantly share code, notes, and snippets.

@kypflug

kypflug/saa-1.js Secret

Created Jul 8, 2020
Embed
What would you like to do?
Storage Access API: Checking for Access
document.hasStorageAccess().then(access => {
if (access) {
// Show UX with access to storage.
} else {
// Show UX for no access.
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment