
Adds a scroll to parent comment link to comments when clicking the more button on a nested comment, and a button to the parent comment to scroll back to that comment from parent.
![[Lemmy] Scroll to parent comment](https://lemmy.villa-straylight.social/pictrs/image/fe35822b-1580-4865-bfa4-f16c261dfcde.jpeg?format=webp)
Simple old Lemmy community bar customisation (updated again)
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
Scroll to parent comment and back
Adds a scroll to parent comment link to comments when clicking the more button on a nested comment, and a button to the parent comment to scroll back to that comment from parent.
It adds a scroll to parent button to nested comments (after clicking the "more" button). If you then press the more button on the parent comment, you'll see a back to child button that will scroll back to the comment you came from on click (also after clicking the "more" button).
@match
value with your instance. Tested on Firefox with Tampermonkey and Violentmonkey.
I've updated my Dracula theme for Lemmy!
cross-posted from: https://lemmy.blahaj.zone/post/1312795
[Image description: A screenshot of the lemmy.blahaj.zone front page with a custom userstyle applied. The userstyle features a dark gray background with medium gray text and brightly-colored accents of purple, pink, orange, and cyan. The right sidebar cards are a light shade of gray with lighter gray text, pink buttons, and orange links]
A few weeks ago I decided to try my hand at bringing my favorite theme to Lemmy and this userscript was born. It's still in the early stages so there are some wrinkles to iron out, but I just pushed a big update with better contrast, style fixes, and streamlined code.
I've received several requests to turn it into a native Lemmy theme but have no idea how to do that. If anyone has any tips on theming, interest in collaborating, or a Lemmy i
LULs, the script that changes all Lemmy links to your home instance, now has support for more than one home instance!
Ensures that all URLs to Lemmy instances always point to your main/home instance.
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!
Just another lemmy style inspired by some old subreddit styles
This is a style I primarily made for myself, but why not share it. It's inspired by some of the old subreddit styles and the old youtube design.
There still are some things I have to fix in the dark theme, like buttons and card headers for example.
Open in own instance
Hi,
This is just a little helper script which adds buttons to posts and comments on any Lemmy instance except your own which lead to a search page in your home instance allowing you to quickly interact with content.
For now this is just a bunch of buttons, but ideally it'd be a fully-featured script that presents you with a proper text field for commenting/replying and buttons for voting. This is just the initial release and I'll be working to make the script better and save even more time while slacking off on Lemmy :P
Click the big 'Install' button above, then approve the script on the page displayed by your userscript manager. I've tested it on Violentmonkey and Tampermonkey with Firefox.
After installing, go to any Lemmy instance and enter your home instance's domain into the prompt (just the domain, l
Lemmy Universal Link Switcher now rewrites post/comment links! 1.2.0 Release!
Ensures that all URLs to Lemmy instances always point to your main/home instance.
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.
Also works on Firefox Android with the Tampermonkey extension!
Lemmy_monkey - a full restyle in the spirit of old.reddit - updated for Lemmy v0.18
Just an FYI post for folks who are new or recently returning to Lemmy, I have updated the linked grease/tamper/violentmonkey script for Lemmvy v0.18.
These two scripts (a compact version and a large thumbnail version) substantially rearrange the default Lemmy format.
These are (finally) relatively stable for desktop/widescreen. Future versions will focus a little more on the mobile/handheld experience.
These are theme agnostic and should work with darkly
and litely
(and variants) themes.
Lemmy Universal Link switcher, or LULs for short
Ensures that all URLs to Lemmy instances always point to your main/home instance.
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.
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!

Hey folks! I hope you're having a lovely day. I was using the "Lemmings fix" by @soy@lemmy.world for a while now and have been improving it to tailor my needs.
This one
Here are a couple of screenshots:
Here's the code (modify localLemmy
before using):
js
// ==UserScript== // @name Lemmings Fix // @version 1.1 // @description Redirect to your local Lemmy instance // @author @lemmy.world/u/soy, @lemmy.world/u/fperson // @match https://*/c/* // @icon https://join-lemmy.org/static/assets/icons/favicon.svg // ==/UserScript== (function () { 'use strict'; const localLemmy = 'lemmy.world'; const isLemmy = document.head.querySelector
Simple 404 Community not found straight to local search
If you try to access a community on your local instance and it gives you a 404, this automatically takes you to your local instance's search instead and puts the community in for you.
Recommended to use with https://sh.itjust.works/post/33762](local instance redirect script) by @soy@lemmy.world
I started using Tampermonkey today, so dunno if this works with GreaseMonkey, but I assume it does.
undefined
// ==UserScript== // @name Lemmings Redirect // @version 1.0 // @description Redirect to your local Lemmy instance // @author @reddthat.com/u/Fanghole // @match https://*/c/*@* // @icon https://join-lemmy.org/static/assets/icons/favicon.svg // ==/UserScript== var unknownLemmy = document.body.textContent === "404: couldnt_find_community"; if (unknownLemmy) { // Get URL info var splitUrl = location.href.split("/"); var split2 = splitUrl[4].split("@"); var instanceUrl = split2[1]; var community = split2[0]; var searchUrl =
Auto Expand Image Posts
This is my first userscript. Hope you guys like it!
Custom Navbar Links
Thanks for using my script. I will keep this thread updated with all the changes. Just look at the changelog.
If you have any tips on features and/or improvements then leave a comment and I'll take a look!
The nav will now be sticky and move when you scroll down so you always have access to it!
Removed bold
as default...
Added separators and colors codes for every link. Now you can edit the TextColor when you add a new custom link
{ title: 'Plugins', url: 'https://lemmy.world/c/plugins@sh.itjust.works', textColor: "#000000" }
Feel free to add or remove the separators as well
{ title: '|', url: '#', textColor: "#000000" }
Also added an option to change font weight:
link.style.fontWeight = "bold"
= Bold
link.style.fontWeight = ""
= Regular
 are red, local is left unchanged.
Hover Cards for users, get info without opening their profile
Wanted to do this for a while. Did it today instead of sleeping.
Screenshot:
You can install it from here: https://greasyfork.org/en/scripts/468948-user-details-on-hover
Link to GitHub repo: https://github.com/lemmygod/lemmy-hovercards/tree/main
Or you can copy-paste the following code:
::: spoiler click here to view code.
js
// ==UserScript== // @name User Details on Hover // @namespace http://tampermonkey.net/ // @version 0.12 // @description Show user details on hover // @author You // @match *://*/* // @grant none // ==/UserScript== (function () { "use strict"; const isLemmy = document.head.querySelector("[name~=Description][content]").content === "Lemmy"; if (!isLemmy) return; // Inject styles for the user card function main() { const style = document.createElement("style"); style.innerHTML = ` .user-card { position: abs
(grease/violent/tamper) *monkey script to reformat Lemmy's look and feel to old.reddit with RES
userscript called "old.reddit" found here: https://github.com/soundjester/lemmy_monkey
(linked thumbnail shows old.reddit.compact version of the script)
Screenshot of old.reddit script results:
Redirect another instance's commmunity to your local instance
Original post, containing the original code @soy@lemmy.world made: https://sh.itjust.works/post/33762
his original message:
For those that use Tampermonkey or GreaseMonkey, here’s a quick script I whipped up that creates a button that redirects communities from other instances to your local instance. If your instance isn’t
lemmy.world
, then change thelocalLemmy
var at the top. Enjoy!
For personal use, I changed localLemmy to sh.itjust.works
because that's my instance. I also embedded some styles and made it so it's top right instead of bottom left, and so that it's red and works better for me. Soy's original code didn't work for me so I had to make these small alterations to get it working.
undefined
// ==UserScript== // @name Lemmings Fix // @version 1.0 // @description Redirect to your local Lemmy instance // @author @lemmy.world/u/soy // @match https://*/c/* // @icon https://join-lemmy.org/stat