Support application urls
// For future readers: apparently Notion.exe necessitates URL rewriting like https://www.notion.so /${PATH} to notion:/${PATH}, so my use case is impossible
Originally posted by @kissge in https://github.com/mortenn/BrowserPicker/issues/68#issuecomment-2029092546
teams, slack, notion, any others we know about?
build it in an extensible way so we can add more apps in a similar way to how browsers are handled
I should be able to detect installed protocol handlers, but I doubt they include information on what https://.../...{some-reference} url would become protocol:{some-reference}
slack is a bit of a pain to handle, the jump page is full of obscure javascript and the docs for their protocol handler points out that the format is very different based on what the link is for, so there is no simple mapping from https: to slack:
I may implement notion and teams if they are easier and create a separate issue for slack.