I thought of making a browser extension to support
diaspora:// links, which will help to open the respective post at the user home pod. However as far as I can see WebExtensions can’t handle custom protocols. At the description page of the protocol handlers support for extensions there is a list of protocols which can be processed directly and
diaspora:// is obviously not among them. Everything else which is not among the list must go with a prefix, like
ext+diaspora://. And the same goes to Web API
navigator.registerProtocolHandler method. So basically with the browser I found no way to extend it to support
diaspora:// links as they are.
Does it mean that we can never use
diaspora:// schema with the WebExtensions? Or there is a way to do so and I just don’t know it? If there is not, how useful is actually the
diaspora:// schema then? The only way to process it then is to support it at the backend of a webapp, which limits the usage mostly to diaspora pods and doesn’t allow to use this schema anywhere else.