Skip to content

Instantly share code, notes, and snippets.


kypflug/saa-2.js Secret

Created July 8, 2020 16:06
What would you like to do?
Storage Access API: Requesting Access
function onLoginClicked() {
document.requestStorageAccess().then(() => {
// Access granted: Safe to access storage now.
}).catch(e => {
// Access denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment