@threecheese , thank you very much for your contribution!
This release improved the Tana script. Hookmark “Copy Link” will return a URL with its own protocol “tana://” instead of “http…”.
Also for this script to work, you need set the shortcut for command "Copy Link(HTML formatted) to control+command+c.
Here is how to set custom shortcut in Tana: