Might be a stupid question, but I’m ready to receive the fatal beating. Here goes:

If I find myself in a certain post on another instance (ex.: sh.itjust.works) and my user is here, on Lemmy.world, is there a way to directly open that post from Lemmy.world instance?

I tried copy-pasting the post ID, but I soon realized that the same post will have a different ID on another instance.

      • Farid@lemmy.world
        cake
        OP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        This userscript claims to be able to rewrite post links, and I really want to try it, but… Perhaps because I’ve never used GitLab, I can’t find the dist file, the userscript itself. Am I supposed to build it manually? There aren’t any instructions for the installation or the build, for that matter.

          • Farid@lemmy.world
            cake
            OP
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            I don’t know how it’s doing it (I might look at the code later), but the script works! In any post I can click a link in the titlebar to jump to home instance.
            Thanks a lot!

    • Farid@lemmy.world
      cake
      OP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      This is not exactly what I’m looking for, but it was helpful, thanks!

      That extension is for jumping to a community, not directly to a post. While this helps a little, you’d still need to find the post manually within the community.
      Furthermore, there’s actually a point about this in the README:

      Why can’t I jump to the same post on my home instance?

      When you view the same post on different instances, the links may look like this: https://lemmy.ca/post/634937 vs. https://lemmy.world/post/79489. Currently, there doesn’t seem to be a way to determine what the post’s URL will be on your home instance. Due to this, there is no way to link to the post on your home instance.

      So it looks like this is an unsolvable (and a serious, in my opinion) problem with Lemmy at the moment.
      Solved using the userscript that @[email protected] further in the thread suggested.

      • Rooki@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Am i blind or are those 2 buttons exactly what you want? The left is for your currenct instance and the right is the instance from where the comment / post came. The only benefit i can see is you see a post when you are searching through another instance but you want to see it in your “home” instance?

        • Farid@lemmy.world
          cake
          OP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          The first, link icon is just that, a link to the post/comment the way you currently see it on the site. It’s relative to the instance you have opened it on.

          The second, fediverse icon is a little confusing to me, but it definitely isn’t doing what I need it to. In my experience, it shows the link to the post/comment on OP’s home instance if it’s not the same as the instance you’re browsing, even if they posted directly to this instance. My guess is that OP’s home instance must create the post first, to then send it to the foreign instance, so technically, posts exist on both instances.
          Long story short, the fediverse icon is relative to the OP.

          In conclusion, neither of those buttons will open the post relative to my home instance, with the exception of some coincidences.