深圳全飞鸿

标题: chrome解决url protocol跳框的问题 [打印本页]

作者: zhgc    时间: 2021-1-25 20:36
标题: chrome解决url protocol跳框的问题

chrome解决url protocol跳框的问题


https://stackoverflow.com/questions/62926156/chrome-84-a-website-wants-to-open-this-application-handlers


I had the following fixes, which opened the needed application in Chrome without confirmation each time. They worked well until the update of Version 84.0.4147.89 (Official Build) (64-bit).

Fix 1:

In C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Preferences
"protocol_handler":{"excluded_schemes":{"neededApp":false}}


Fix 2:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001



但84版本及以后, 以上两种方法失效

Fix 3:



If you go into chrome://flags/ and search for "Insecure origins treated as secure" and then add the origin e.g. "http://example.com", you then get the tick box to allow to remember the selection.

I just tried this in Chrome 84 and MS Edge 84. You do get a warning when opening Edge that you are using an insecure option, but as it is for a specific URL this seems acceptable.

The usual caveats apply in that you do trust the site to be treated as if it was secure!
作者: zhgc    时间: 2022-10-6 22:46








欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2