Very simple, from the source:

Lemmy Universal Link Switcher, or LULs for short, scans all links on all websites, and if any link points to a Lemmy instance that is not your main/home instance, it rewrites the link so that it instead points to your main instance.

In essence, any Lemmy link you come across is automatically redirected to your home instance. It’s also easy to customise, you can add/remove instances and prevent it from working on particular sites (or force it to only work on sites you wish).

Can be installed with Tampermonkey or ViolentMonkey (or similar tools).

note: this may also work just fine on mobile browsers that support extensions (and would likely help direct your browser to opening your lemmy app - if you have one - more often), but I haven’t tested this.

  • seat6@lemmy.zip
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    7 days ago

    This is a dumb question; but what’s the benefit to redirecting links to the home instance?

    • Madbrad200@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      9
      ·
      7 days ago

      I’m logged in on sh.itjust.works, I’m not logged in or have an account on lemmy.ml. If I want to interact with posts from lemmy.ml, I want to do so from my home instance of sh.itjust.works whre I’m logged in and have my main account.

      • /home/pineapplelover@lemm.ee
        link
        fedilink
        arrow-up
        6
        ·
        7 days ago

        Also, if nobody on your instance has ever visited that sub or instance, redirecting to your home will kind of make contact with them so it shows up for other people in your instance.

        Idk if I’m explaining correctly, but federation only works if you opened it on your instance, without it, you will never find that content.

      • seat6@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        6 days ago

        But for example I’m on Lemmy.zip; and this post is lemmy.world; yet I seem to be able to interact with it fine. Mariner I’m missing something; but I don’t see the issue

    • priapus@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 days ago

      If the links are to another post, you’ll stay logged in so you can interact. Without this it opens on the other instance so you cant interact.