[UserScript] Simple old Lemmy community bar customisation (updated again)

UPDATES BELOW

So I browse on the desktop using the mlmym/old.lemmy client (e.g. 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 greasyfork.org/…/474756-lemmy-mlmym-community-bar…

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
9point6, (edited )

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
9point6,

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

Here it is on greasyfork greasyfork.org/…/474756-lemmy-mlmym-community-bar…

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • plugins@sh.itjust.works
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines