stronglink
stronglink copied to clipboard
Hash URI protocol handler
We tried using navigator.registerProtocolHandler
but it was very disappointing outside of Firefox on Linux. Chromium requires the web+
prefix, and on OS X dynamic registration is not well supported.
I think this issue mainly depends on having a native application.
In the meanwhile, I don't think this is a huge problem. Hash links are clickable within StrongLink (just like wiki links are clickable within wikis), and at worst you can always copy and paste.
For future reference, on OS X there is LSSetDefaultHandlerForURLScheme. Of course the preferred way is to use a bundle plist.