• Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    There’s a bunch of browser extensions as well to add a “show on my instance” link whenever it detects a Lemmy instance page which basically does the same thing automatically for you, pretty useful.

    • mark@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Was about to ask if there was a way to do this automatically. Does anyone know why this isn’t baked into the Lemmy codebase? I’m thinking this would be pretty easy with browser cookies. 🤔

      • Max-P@lemmy.max-p.me
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        It would have to go through some sort of Lemmy link redirector service because a site can’t access another site’s cookies. And even then, with third-party cookie sandboxing, that still wouldn’t work.

        I don’t think this is solvable without a browser extension. The best the devs could do is let you enter your home instance URL on each instance such that eventually you’ve configured them all and it works. But the extensions are just plain better.

      • Max-P@lemmy.max-p.me
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        I’ve been using a GreaseMonkey script to do that, I can’t find the exact one I used but there’s a bunch that do posts too, and extensions.

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    I feel like linking is one of the things that is still pretty broken in the fediverse. I’m not sure it’s fixable. Ideally, any link would open in a chosen app, on my home instance. And I don’t use the same instance for Lemmy, Masto, etc.

  • mozz@mbin.grits.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    Hey so check out what I just learned:

    To post a link to a post, just search for the URL of the fediverse-icon version of it on your instance, then link directly to that search, chopping off the https://{your instance} from the front

    And likewise for links to comments

    You’re still making the user do 2 clicks instead of 1, but it’s still quite a lot more convenient than the other thing. It could be made even nicer (arguably “good enough”) if the backend could transparently redirect to the first search result along the lines of “I’m feeling lucky,” but it doesn’t look like right now it can do that.

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      No I don’t think comments works that way. For one, your search returns no results when accessed from on my instance, or from lemmy.world, etc. And for another, I have seen comments have different numerical tags after the instance name - e.g. mousing over the chain link icon vs. the colored fediverse graph sign icon shows the different values there.