this post was submitted on 10 Aug 2026
33 points (97.1% liked)

Fediverse

43448 readers
350 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@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)

founded 3 years ago
MODERATORS
 

What I'm looking for is a simple FLOSS add-on for Firefox through which the address bar recognizes Fediverse-style account handles as such, i.e. it infers the URL that corresponds to that profile and opens it. (Or alternatively: It shows that handle on one specified instance, e.g. always from your Mastodon home instance.)

Inferring the URL is of course not entirely trivial, as it depends on what software runs on the instance; but perhaps someone has already put together a solution that works reasonably well... or you would like to make one yourself. Edit for clarification: Even coverage of only some ActivityPub implementations, such as recent versions of Mastodon and Lemmy, would be a great start if support for others can be added later on.

For people with experience developing Firefox add-ons, it would be great if you share insights about what functionalities one should use to execute the redirect.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] waldfee@feddit.org 2 points 3 days ago* (last edited 3 days ago) (1 children)

You can infer the user's id/url by querying the instance's webfinger, like this:

curl -H Accept:\ application/jrd+json https://discuss.tchncs.de/.well-known/webfinger?resource=acct%3Adavid_%40discuss.tchncs.de | jq '.links.[] | select(.rel=="self" and .type=="application/activity+json").href'

This should work for any kind of fedi instance

[โ€“] david_@discuss.tchncs.de 3 points 3 days ago

This must be the way to go, awesome! (I tested it with Lemmy, Mastodon and PeerTube)