this post was submitted on 10 Mar 2024
62 points (95.6% liked)
Fediverse
28490 readers
566 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, you would have to maintain a list of all Mastodon instance domain names, and Google requires this list to be baked in at build time of the app, so updating it requires updating the whole app and there's no way to dynamically detect that this link is a Mastodon link.
This isn't to say that it can't be done, Newpipe does this for Invidious/Piped instances, but yeah, it's a good bit of work...
it doesn't report itself as mastodon in the header or something? That would have been useful.
edit: yeah, no. https://github.com/mastodon/mastodon/issues/23939
Maybe some browser extension for like firefox mobile?
What I could theoretically imagine, is that an extension could give it a custom URL scheme, like
mastodon://mastodon.social/v1/...
, and then the various Mastodon apps could register an intent/open handler for that. But yeah, again, quite a bit of effort.Alternatively, the apps could offer a secondary Share-action, which tries to open the link instead of creating a post from it...
That's a good idea
It can't query this info externally occasionally...?
No. It must be in the app already. It's for security reasons.