Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to allow `<all_urls>` optional permission #5054
I'm having trouble testing additional permission request of my extension.
The following is set as optional permission in the
And in the extension I do request and revoke the permission using:
I would like to be able to test the extension behavior when permission is successfully requested and revoked, but there seem to be no way to fetch permission
Any idea how that can be done?
Hello, we had a similar problem, there is no way to fetch permission dialog event and accept because that dialog is not triggered by any JS on the page, is triggered by Chrome API
We used this library for nodejs in order to simulate tab and enter keys for allow/disallow the permission.
@agomez0207 The permission dialog looks cannot approve by the keyboard.