I’m going to register a protocol handler, so links to anywhere on the fedi will be opened in the user’s home instance.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
Has anyone already done this and if so what was the prefix you used? We might as well all use the same thing. I’m thinking web+fedi
.
The PR comments suggest that making the various changes to the backend were too large to justify, and a front-end only approach would be preferred? smitten@key.portend.place
It raises a good point though, where if you serve
web+ap://
, it’s not understood by clients that are not aware of this scheme. If there were a way a client could communicate whether there is a protocol handler registered, then the server could tailor its response.