深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 676|回复: 1
打印 上一主题 下一主题

chrome解决url protocol跳框的问题

[复制链接]

800

主题

1379

帖子

7706

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7706
跳转到指定楼层
楼主
发表于 2021-1-25 20:36:49 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

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!
回复

使用道具 举报

800

主题

1379

帖子

7706

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7706
沙发
 楼主| 发表于 2022-10-6 22:46:19 | 只看该作者



回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-5-5 06:41 , Processed in 0.024495 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表