Forum Discussion
How to always allow specific external protocols
07_19 the AutoLaunchProtocolsFromOrigins policy works for me. Just tested it on Windows 10 VM + Edge - Version 87.0.664.75 (Official build) (64-bit) and Version 87.0.4280.141 (Official Build) (64-bit), details refer to https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#autolaunchprotocolsfromorigins and https://cloud.google.com/docs/chrome-enterprise/policies/?policy=AutoLaunchProtocolsFromOrigins
for firefox, open firefox - about:config page, and set option - security.external_protocol_requires_permission to false, the default value is true. After set it as false, the "Always Allow..." dialog will not show up. While, did not find a way to configure a specific site yet. I am wondering if there is a similar way to set a url list on Firefox, just like Edge / Chrome does.
- heavybootsSep 30, 2021Copper Contributor
JasonDo2008This was super helpful! Thanks for the links!
Just wanted to add a couple things from my own experience getting it set up.
First, if you're testing by just typing "myhandler:action" in the location bar… don't. It *always* shows the dialog when you do it that way. You have to test it as an actual link in an HTML page.
Secondly, with regards to testing it in an HTML page, if you're using Bootstrap buttons, for whatever reason, putting it in the OnClick area for the button won't do anything, while putting it in the href area works correctly.
Hope this helps others!
- 07_19Mar 02, 2021Iron Contributor
Thanks for this, it seems to work. At least I don't have the first pop up for vscode, but I still have the "This is trying to open Zotero A website wants to open this application" pop up.
here is what I did:
● open regedit
● create a new key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
● under this new key, I created a new string :
- value = AutoLaunchProtocolsFromOrigins
- data = [{ "allowed_origins": [ "*" ], "protocol": "file" }, { "allowed_origins": [ "*" ], "protocol": "zotero" }]
I didn't have to restart my computer.