Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel permission prompt #3

Open
rugk opened this issue Sep 15, 2019 · 0 comments
Open

Cancel permission prompt #3

rugk opened this issue Sep 15, 2019 · 0 comments

Comments

@rugk
Copy link
Member

rugk commented Sep 15, 2019

https://discourse.mozilla.org/t/can-browser-extension-permission-requests-be-cancelled/44734?u=rugkx

for

export function cancelPermissionPrompt(permissions) {
// we cannot actually really close the permission prompt, see:
// https://discourse.mozilla.org/t/can-browser-extension-permission-requests-be-cancelled/44734?u=rugkx
const thisPermission = getInternalPermissionData(permissions);
thisPermission.messageBoxes.forEach(hideMessageBox);
}

Seems it is currently not really possible… 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant