Why I do not use the webview2 prompts for permissions (wv2 136 lastest) : #5286
jls28
started this conversation in
Tips and Tricks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes webview2 prompt for a permission but this is not reliable :
Firstly, for notifications, it never prompt (a bug probably). The permission is denied but no webview2 permission is defined.
Otherwise, from my tests, I see than if the prompt for a permission is closed three times with the close button, this stop permanently the display of this prompt (error below),
the only way I know to restore the prompt is to use a new profile or clear the user profile;
So my advice is to never use the webview2 prompt for permissions, because if the user
close the prompt three times with the close button, the prompt disappear definitivly for this user profile.
I discovered there are an chrome option "--disable-features=BlockPromptsIfDismissedOften"
so I tried and this change (unfortunately) nothing.
errors :
permission.site/:1 MidiSysEx permission has been blocked as the user has dismissed the permission prompt several times. This can be reset in Page Info which can be accessed by clicking the tune icon next to the URL. See https://permanently-removed.invalid/feature/6443143280984064 for more information.
permission.site/:1 Geolocation permission has been blocked as the user has dismissed the permission prompt several times. This can be reset in Page Info which can be accessed by clicking the tune icon next to the URL. See https://permanently-removed.invalid/feature/6443143280984064 for more information.),
Beta Was this translation helpful? Give feedback.
All reactions