cross-posted from: https://lemm.ee/post/1606937

If you didn’t already know about it, I included the full description after the release notes.

Release 1.3.0

  • You can now add multiple secondary instances: so if you, like me, also have an account on lemmynsfw.com (or of course any other instance), you can add that there and not have links rewritten for that instance
  • You can manually enter your home instance. Useful for self-hosted instances that didn’t show up in my instance list.

Full Description Below:

Description

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.

Also works on Firefox Android with the Tampermonkey extension!

Features

  • Rewrite links to Lemmy posts/comments to point to your home instance. Only after hovering over them, because getting home posts/comments links require communicating with the Lemmy servers, and we don’t want to spam the servers.

  • Instantly rewrite all links of community or user links to Lemmy/kbin on all websites everywhere to your new instance! The rewritten links will have an icon next to it, and hovering/touching the icon will show you the original link, allowing you to go there if you want to.
    community links being rewritten

  • If you are already on a page that has a corresponding page on your home instance, a link will automatically be added to the page header.
    the header link to your home instance when already on a remote post

Home Instance Setup

Simply visit the Lemmy instance you want to set as your home while the script is active. You will be asked if you want to set this instance to your home instance:
popup to select home instance

Settings

If you want to change your home instance or add secondary instances in case you have multiple accounts, simply go to the script settings, accessible within Violent/Tampermonkey directly, or alternatively within any Lemmy instances’ settings.
button to set your new home instance

Common Issues

Coming soon

  • Rewrite kbin post/comment links
  • Better rewriting support for kbin community/user urls (e.g. sort options are currently ignored)
  • Nicer tooltip styling (fit into page theme)
  • Signify that “Show at home” button is loading for posts/comments
  • Integrate with lmmy.to redirector
  • @doctortofu@reddthat.com
    link
    fedilink
    31 year ago

    I’ve been using it for a while and it works great, thanks a lot for making it!

    Just one question - is there a way to access the settings on Firefox Beta for Android? I’m using the script with Tampermonkey and can’t see a way to do it - not a major issue, I’m mostly just curious.

      • @doctortofu@reddthat.com
        link
        fedilink
        31 year ago

        Oops, not used to how crossposting works here yet, thanks!

        Also, after seeing the image you posted, I force closed Firefox and cleared the cache, and after openng it again I do see that menu on mobile - thanks for that too!

        • @Azzu@lemm.ee
          link
          fedilink
          21 year ago

          There is also an image within the post showing you two ways on how to open the settings ;)