Hi there,
When trying to use the Web Clip extension in any Chromium based browser (Google Chrome, Brave, etc.) I am prompted whether to allow the current URI to open DevonThink. I want to get rid of the prompt.
I have found out how to do it, but I need to know what DevonThink has called its protocol. In case you’re not sure what I am referring to, other examples are https://
, mailto://
, zoommtg://
etc.
Okay. So I’ve managed to figure this out myself, by diving into the JS files for the Web Clip extension.
The protocol DT uses is x-devonthink
Also, for anyone else wanting to disable the prompt for opening Devonthink for any and all URIs, this is the command to use in the macOS Terminal app.
For Brave Browser
defaults write com.brave.Browser URLWhitelist -array-add 'x-devonthink://*'
For Chrome browser
defaults write com.google.Chrome URLWhitelist -array-add 'x-devonthink://*'
You will need to close and relaunch the browser before it takes effect. Once you do this, the browser will no longer prompt you if you’d like to allow a specific site / URI to open DevonThink 3.
Will leave this here in case it is one day of use to someone else.
1 Like
Thanks for sharing this tip. I was just looking into this today. 
1 Like
Huh … what a coincidence. 
I am glad it was of such immediate use to someone else.
THANK YOU! I was just thinking about finding out how to do this…GET OUT OF MY HEAD. 
1 Like
It seems I can’t update my post above. So, here’s an update. Since version 100 of Chrome (and Brave, and Chromium browsers I would expect), the URLWhitelist
policy has been depreciated. For version of Chrome / Brave / etc. newer than version 86 I suggest using URLAllowlist
instead.
E.g.
defaults write com.google.Chrome URLAllowlist -array-add 'x-devonthink://*'
Has anyone figured out how to stop this from happening in Arc yet? Perplexity initially suggested “defaults write company.thebrowser.Browser ExternalProtocolDialogShowAlwaysOpenCheckbox -bool true” but that didn’t work. Apparently there are still no known Arc prompts for external protocol handlers.
I want to submit feedback that the Arc devs can understand - does this make sense? It was suggested by Perplexity but sometimes I know more than it does and I don’t know much so I want to be sure the feedback is good. (Will delete this question forming part of my comment when I get a response.)
“I’d like to request a feature that allows users to permanently allow extensions like DEVONthink to access all websites without repeated prompts. In Chrome and Brave, this can be done by adding the extension’s URL scheme (e.g., x-devonthink://) to a whitelist. Could Arc implement a similar feature or provide a way to manage extension permissions more granularly?”
Would love if someone stumbles on this thread and has an answer. Thanks!
Just tell the Arc team there’s a problem with it not honoring the URLAllowlist
policy.
1 Like