6
submitted 1 year ago* (last edited 1 year ago) by 9point6@lemmy.world to c/plugins@sh.itjust.works

UPDATES BELOW

So I browse on the desktop using the mlmym/old.lemmy client (e.g. http://old.lemmy.world) because old habits die hard.

One of the many things I found myself missing from RES & Reddit was the ability to customise the community bar at the top of the page to contain some links to my favourite communities. I had a spare minute this morning to throw together a userscript for just that:

Here's a pastebin with the script. Create a new userscript in tampermonkey (or whatever userscript plugin you use), drop the code in, change the array of communities at the top to be the ones you want prepending to the list, and you should be good.

Make sure to add the server suffix to any communities from other instances and if you want to use this on another instance other than lemmy.world, just change the match rule in the userscript header comment.

I didn't host on greasyfork as I'm probably not going to make any further changes, and I'd need to come up with something a bit more sophisticated than an array of communities. I'll update this post if I ever change my mind on that

Update

So I guess I wasn't happy with leaving it alone:

Here it is on greasyfork https://greasyfork.org/en/scripts/474756-lemmy-mlmym-community-bar-customisation

I added localStorage and a simple config GUI to configure the list of favourites now, no reordering yet (without just removing and re-adding in a different order), but I imagine I'll end up adding that in time

Update 2

And another update:

I've just updated GreasyFork with 0.3

  • Added reordering
  • Added background fade and background click to close
  • Added favourite/unfavourite button to the community sidebar
top 2 comments
sorted by: hot top controversial new old
[-] 9point6@lemmy.world 1 points 1 year ago

So I guess I wasn't happy with leaving it alone:

Here it is on greasyfork https://greasyfork.org/en/scripts/474756-lemmy-mlmym-community-bar-customisation

I added localStorage and a simple config GUI to configure the list of favourites now, no reordering yet (without just removing and re-adding in a different order), but I imagine I'll end up adding that in time

[-] 9point6@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

And another update:

I've just updated GreasyFork with 0.3

  • Added reordering
  • Added background fade and background click to close
  • Added favourite/unfavourite button to the community sidebar
this post was submitted on 06 Sep 2023
6 points (87.5% liked)

Lemmy Plugins and Userscripts

3 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