08-27-2019 12:19 PM
08-27-2019 12:19 PM
I often use Edge Chromium to open urls that rely on local protocols like:
But each time I want to open these urls, Edge always asks me if I want to open Zotero or VsCode. I didn't have this confirmation popup when I used Chrome. Is there a way to always allow specific local protocols so I won't get this popup?
Edge version: Version 184.108.40.206
08-27-2019 02:18 PM
@07_19 thanks for submitting this report. I see the prompt in Chrome, but there is a checkbox there that says "Always open these types of links in the associated app". I am betting you checked that box at some time in the past and have forgotten. What I find interesting is that Edge is not presenting that option. I'm going to follow up on why we removed the checkbox.
08-28-2019 07:30 AM
@07_19 It turns out that that setting is now removed from Chrome (Canary) as well. It's being removed so that you always have to approve using a protocol because with the old design there was no way for you to know you'd checked that box, which is a bit of a security concern.
Thanks again for reporting this one.
08-28-2019 08:52 AM
@johnjansen Thanks for checking, but if it's the case, why not having a setting in the "Site permissions" section so we can always allow specific local protocol. That way, there is no security issue (we can always go to site permissions to remove the protocol permission) and you keep the users happy!
08-28-2019 08:58 AM
@07_19 yeah, I already sent mail internally to brainstorm the best way to move forward with this. I don't really like the idea of being prompted with every protocol link if I trust the domain serving the link, but I always defer to our security experts.
12-17-2019 12:23 PM
It looks like there is now a policy to enable the checkbox again:
12-17-2019 02:58 PM
The handler preference is stored in %localappdata%\Microsoft\Edge[version]\User Data\Default [or profile name]\Preferences.
The two ways to prepopulate it I know of are:
Unfortunately, this preference is undone whenever the user clears their browser cache, so I think I'm going to opt to just have folks check the box.
12-18-2019 09:19 PM - edited 12-18-2019 09:45 PM
Thanks a lot @AndrewSAIF. I didn't have to use a master_preferences or powershell to edit Preferences. I simply right-click it and choose to open it with my text editor "vscode"
Once open, Preferences looks like a json file, so you should be able to open it with any text editor. But your operating system doesn't know that because the extension is removed.
This work for me (to allow zotero and vscode protocols):
- close Edge
- go to %localappdata%\Microsoft\Edge[version]\User Data\Default [or profile name]\Preferences.
- Right-click Preference and choose a text editor
- scroll down to the very end of the text
- remove the last
- add (notice the first comma, and no need to add :// for the protocols
edit: once you edit have edited Preferences and open Edge, the position of the protocol_handler will automatically be move just beneath "password_hash_data_list" so you won't see it anymore right a the very end of the text. So after the first edit, if you need to add more protocols, you will have to look for "protocol_handler".