this post was submitted on 23 Jun 2023
0 points (NaN% liked)

Lemmy Plugins and Userscripts

2145 readers
1 users here now

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:

Thanks!

founded 1 year ago
MODERATORS
 

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:
home

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!
settings

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

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

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 comment's thread
view the rest of the comments
[–] Zamboniman@lemmy.ca 0 points 1 year ago (12 children)

I have 1.0.1. An attempted update shows 'No newer update available.'

[–] Azzu@feddit.de 0 points 1 year ago (11 children)
[–] Zamboniman@lemmy.ca 0 points 1 year ago (10 children)

Got it. Upgraded to 1.0.2.

Still no icons to the right of links.

[–] Azzu@feddit.de 0 points 1 year ago

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

load more comments (9 replies)
load more comments (9 replies)
load more comments (9 replies)