Forum Discussion
JacopoG
May 13, 2022Copper Contributor
Not allowed to launch <external_protocol> because a user gesture is required
Hi, I'm trying launching an external 3rd party app on Win10 via Edge using an external protocol, something like jacopop: but after being redirected successfully to the app once, if I try again, t...
Eric_Lawrence
Microsoft
May 19, 2022JacopoG Chrome and Edge have the same code here, except that Edge has an additional policy DoNotSilentlyBlockProtocolsFromOrigins that is not present in Chrome.
The reason you see different behavior in one browser vs. the other is almost certainly related to a bug in Chromium and the extensions you have installed. Specifically, if you have a browser extension installed, every API call it makes resets the flag that bypasses the gesture requirement. This is a bug that Chromium will eventually fix.
You can learn more in https://textslashplain.com/2019/08/29/web-to-app-communication-app-protocols/
Currently, flood prevention in Chromium does not work very well, suffering both false positives and false negatives.