Forum Discussion
How to always allow specific local protocol
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
,"protocol_handler":{"excluded_schemes":{"zotero":false, "vscode":false}}}
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".
07_19 Yes, I had tried this prior to posting here and it didn't work. Maybe it will now since the popup was added in.
Is this persistent or does the end user clearing cache/cookies, resetting settings, etc clear it out?
- 07_19Mar 09, 2020Iron Contributor
Since the new update (I have Version 82.0.439.1 (Official build) dev (64-bit) ), this solution doesn't work anymore.
I checked my Preferences file in AppData\Local\Microsoft\Edge Dev\User Data\Default and the exclusion rule is still there ("protocol_handler":{"excluded_schemes":{"vscode":false,"zotero":false}} ) , but each time I open one of the specified protocol, I am asked to confirm that I want to open it.
How to fix this?