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. Currently only works for community/user links.

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:

If you initially set your home instance wrong or just want to change it, no worries - simply go to your settings on your new home instance and press the button for it!

Features

  • Rewrite all links of communities or users 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.

  • 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.

Coming soon

  • Post & comment links. Those are a bit harder because the URL has to be requested from the instances.

Repository & Issues

You are viewing a single thread.
View all comments View context
0 points

Got it. Upgraded to 1.0.2.

Still no icons to the right of links.

permalink
report
parent
reply
0 points

Yeah no idea, you can change DEBUG from true to false and see if it’s outputting any messages at all. I’d probably need to do some more advanced debugging steps, idk if you’re willing to do that

permalink
report
parent
reply
0 points

Maybe try violentmonkey instead of greasemonkey, which does not seem to be in development anymore.

permalink
report
parent
reply
0 points
*

…and I spoke too soon. Worked fine when I installed it. As soon as I went to another page on the instance it stopped working again. No icons, no button in settings. No idea what’s going on.

permalink
report
parent
reply
0 points

Does it work again when you do a full refresh? So F5/press enter in the adress bar? If so then somehow listening to page changes is broken for you, lemmy doesn’t actually load new pages when you click on an (instance-local) link, it just exchanges all the content within the currently loaded page.

permalink
report
parent
reply

Lemmy Plugins and Userscripts

!plugins@sh.itjust.works

Create post

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

  • Preface the submission with the type of enhancement - ex: [UserScript].
  • Include a screenshot of the enhancement in use (where possible)
  • Indicate the requirements for use (eg, greasemonkey, stylus, etc.)

Thanks!

Community stats

  • 1

    Monthly active users

  • 12

    Posts

  • 53

    Comments