• Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    0
    ·
    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.

    • Lost_My_Mind@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Then the technology behind that extention needs to be built into Lemmy itself.

      I get how this concept works now, but I keep saying that if Lemmy wants to grow it needs to be idiot inviting. The kind of place where you don’t need to think. The kind of place where you don’t need to learn.

      Because Lemmy growing means people who are not part of Lemmy, JOINING Lemmy. The thing is, I feel like techie linux users already know about Lemmy, and if they aren’t using it, it’s by choice. For whatever reason. But the type of people who choose to use Linux are a tiny tiny slice of society.

      But then you look to the rest of the world. And guess what. We’re all idiots out here. My dad who’s 80 years old still calls his Windows XP machine “that new fangled crap”. He USES Windows XP, but only because his Windows 3.1 machine died in 2005, and radioshack didn’t carry any new Windows 3.1 machines.

      So now every week I get a call to help him with tech support. That call usually lasts like 12 minutes. First me argueing with him to reboot, and him refusing to reboot. Him getting angrier and angrier that I’m treating him like a child, and then a few minutes later the reboot finishes. In the past 8 years his problem was always solved by a reboot. He never tries rebooting before calling me.

      He may be an extreme example, but these people are out there. Idiots are the bulk of society. If the idiots don’t know what is happening, they get frustrated and leave. That’s what this world is. Politics, religion, business, doesn’t matter who’s running what, it’s all supported by mass idiots.

      So the choice is, do you want a small platform full of people capable of tying their shoes, or do you want a much larger more active platform full of idiots?

      Thats the two ends of the spectrum.

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

        To be fair, Lemmy is super alpha software. It’ll take months and years before the platform is mature and more user friendly and has an ecosystem of really good apps.

        We’re like, emails just got invented era of fediverse. It’s having to explain that yes, if you have a Yahoo address you can still email Hotmail users 2 decades ago all over again.

        Now that the big ones like Threads and Bluesky are joining, users will be more familiar with the concepts and it’ll get less… confusing.

    • mark@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      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
        0
        ·
        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.

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

          A website can access another site’s cookies if the first party domain explicitly allows them, which would need to happen in this case. Sure, admins would have to allow which sites can access the cookie. But at least that burden is placed on admins vs the users.

          Browser extensions arent secure and many mobile browsers dont support them, so that wouldnt be a proper solution. A lot of users use Lemmy on their mobile phones.

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

            Because if you’re on say, lemmy.world because you clicked such a link, lemmy.world has no way of knowing what your home instance is. The cookies are all sandboxed for lemmy.world’s use. So even if you used a third-party site whose sole purpose is to know your home instance, it still wouldn’t work because now third-party cookies are sandboxes based on the domain of the site you’re visiting.

            That used to be possible with a third-party. That’s how the Facebook like buttons and Login with Google used to work, and those are also the reason it’s no longer possible. You used to be able to just embed some JS from a third-party on a site, and that JS can access cookies from the third-party site while also being directly callable from the site that embedded it. So in that case, we could agree on a third-party lemmy redirector service whose sole purpose is to store the user’s home instance in a cookie and then the script can be embedded everywhere and it would be able to spit out the URL from the cookie. But that hole’s been plugged. So even if you do that, it doesn’t work anymore because of stronger cookie sandboxes. But that’s why you’d need third-party cookies to pull it off.

            So the only fix left for this is, every lemmy instance you visit, you have to set your home instance on it, which would set a cookie that the site can actually see, then it could redirect you to your home instance to view the post. But that still kinda sucks, because you have to do it for every instance you run across.

            So, cookies are useless for this.

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

              Sites can still have third-party cookies. The first party domain just needs to explicitly allow them.

            • AwesomeLowlander@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 months ago

              You’re missing the point. You should never leave your home instance. Lemmy could automatically remap links to whatever your home instance is before you ever click on them.

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

                Some UIs do, I have Tesseract on mine and it rewrites the links for me.

                That doesn’t solve sharing a link on Matrix/Discord/Google or wherever. I rarely have this issue on Lemmy itself, but whenever I get a link from elsewhere, that’s when I need to be able to open it on my home instance so I can interact with it.

                Same deal with Mastodon. You’re reading some news, it links so the dev’s Mastodon, you need a way to open it in your home instance.

                There’s no fixing that.

                EDIT: test self link to this comment https://lemmy.world/comment/10561034

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

                  This is what that looks like on a good Lemmy frontend:

                  I forgot the default UI didn’t do that. Both Tesseract and Boost handle those mostly just fine.