[Userscript] Custom Navbar Links
[Userscript] 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!
Changelog:
Version 0.5
The nav will now be sticky and move when you scroll down so you always have access to it!
Version 0.4
Removed bold
as default...
Version 0.3
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/[email protected]', 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
Version 0.2
Some code update...
Version 0.1
Just replace the titles and urls with your own links after you install the script
You're viewing a single thread.
Is it possible to make the navbar stick at the top of the browser and not scroll when the page is scrolled?
3 0 ReplyThat's a great suggestion. I have updated the script. It should now be sticky and scroll with you.
Edit: I see that your comment already suggested the behavior I originally had. I thought you wanted it to be sticky and scroll when you do. Anyways, I've added it and it's cool!
1 0 ReplyI see this has been added in 0.5. That's awesome!
1 0 Reply