kbin Enhancement Suite: a community-curated script manager that lets you customize your kbin experience

A couple of weeks ago, @shazbot made this post about a project that they were working on. Since then, @shazbot, @ori, @minnieo and I have been hard at work, and we are excited to finally announce the official release of kbin Enhancement Suite (KES)!

kbin has seen an explosion of user-made add-ons, but keeping track of them in one place, letting them share settings with one another, and toggling them on and off can be a challenge. KES is an expandable add-on manager that aims to rectify this by providing a unified interface and framework for script makers to collaborate, and letting you use them all in one place.

KES brings together userscripts from the community, with a built-in settings menu that lets you tailor your experience to your liking. It also offers a flexible framework that empowers script authors to effortlessly integrate scripts into KES and set up custom input fields with no additional code.

KES gives you a single window onto a collection of enhancements that is growing by the day. And those features can be added to by you!

The KES settings menu

What the feed looks like with everything enabled

The comments with everything turned on

Features

We’ve focused on making customizing your kbin experience as easy as possible, whether you are on mobile or desktop. After we sort out the bug reports from this release, we plan on adding many more features! Here’s what we have so far:

  • Collapsible comments with nesting (by @artillect)
  • Use slash commands to add emoticons in text areas (by @minnieo)
  • Add syntax highlighting (with customizable themes) to code blocks (by @ori)
  • Show instance names next to non-local users and communities (by @artillect)
  • Add a link to message users on your instance next to their usernames (by @shazbot)
  • Hide upvote/downvote buttons and reputation (by @artillect)
  • Show more detailed timestamps on threads and comments (by @shazbot)
  • Hide thumbnails on threads (by @shazbot)
  • Add link to subscribed magazines to the navbar (by @shazbot)
  • Replace or hide the kbin logo in the navbar (by @shazbot)
  • Add “OP” label next to thread author’s username in comments (by @shazbot)
  • Convert navigation links on profile pages into a dropdown (by @shazbot)

Each of these can be toggled in the settings menu, and some of them have additional configuration options, such as setting custom labels, colors, etc.

New features are added on a rolling basis and the menu pages will update on the fly to reflect this new content.

Installation

Click here to install KES, and follow your userscript manager’s prompt to complete the installation.

If you don’t have a userscript management extension, you can install one of these, and then install KES using the link above:

Once KES is successfully installed, access the settings menu by clicking on the wrench icon located at the top-right corner next to your username. From there, you can enable the features you like, and customize your browsing experience.

More information

For bug reports and feature requests, visit our GitHub repository’s issues page. If you have any questions or need assistance, don’t hesitate to ask here or make a post on /m/enhancement!

Developers

If you are a userscript author, we’d love it if you could try porting your userscripts into KES, or try writing completely new ones for it! @shazbot has made it easy to integrate your scripts: you just need to add your script’s information to manifest.json, make a few small modifications to your script, add it all to the GitHub repository, and you’re good to go!

KES benefits:

  • Turnkey integration: a simple, declarative framework for dynamically adding features to the UI without touching the underlying code
  • Sharing of user-defined settings through script namespaces: access your script settings, and those from other scripts, through a well-defined object
  • Automatically responds to infinite scroll and page reload events
  • Attribution of script authors
  • Easily toggle scripts on/off

Explore KES’s documentation here to get started. If you have any questions, feel free to reach out here, on /m/enhancement, or at our GitHub repository.

losttourist,
losttourist avatar

This is pretty nice even at such an early stage in development. Very much appreciated, thank you.

artillect,
artillect avatar

Thank you, hopefully we're able to expand its feature set soon!

ChrV,
ChrV avatar

Collapsing comments is really smooth and the tap anywhere to collapse is something I didn't knew I needed. Good job, thank you!

artillect,
artillect avatar

Thanks! I worked really hard on that before working on KES, and it was super easy to integrate my script into it

Twelph,

vger.app web app for Lemmy is annoyingly stuttery when collapsing comments, this is much better!

I'm hoping there will eventually be a kbin update or userscript that allows you to change the text size of comments separately from the rest of the site. The text is too small for me.

artillect,
artillect avatar

I'm hoping there will eventually be kbin update or userscript that allows you to change the text size of comments separately from the rest of the site.

That should actually be somewhat easy to do, I just created an issue for it on GitHub. I'm gonna be busy the next few days so I won't be able to work on it until later, but maybe someone else will beat me to it!

akai, (edited )
akai avatar

Seems to work pretty well on mobile Firefox with Tampermonkey. Haven't had a chance to fully explore yet, but looks really good so far! Good job!

artillect,
artillect avatar

Sweet! Glad you're liking it so far :)

raphael,

Seems to throw some errors with Violentmonkey on Firefox. Haven't looked too deep into it yet though.

artillect,
artillect avatar

We'll take a look at that and try to sort it out ASAP

artillect, (edited )
artillect avatar

Edit: It appears that this doesn't completely work, we'll keep working on it

I've figured out the issue, as soon as @shazbot sees my pull request on GitHub there should be an update that fixes it! For a temporary fix for now though, you can Ctrl-F GM. and replace them with GM_ (there should be 4 of these, on lines 17, 18, 128, and 133), and remove the await on line 133

shazbot,

I apologize for the inconvenience. This should be fixed in 1.1.3. The update should be available momentarily as a prompt within KES. If you don't see it, try invoking Ctrl-F5 to refresh cache.

ViolentMonkey can at times be more idiosyncratic than TamperMonkey in the syntax it expects, and I don't usually recommend it because I don't think it has feature parity with TM, but regardless, this issue was my fault for not testing more thoroughly against different extensions.

raphael,

Maybe some day, when Tampermoney decides to opensource their code again 😉

shazbot,

That's a reasonable point. Feel free to reach out if you encounter any other issues

shazbot,

We have worked up a more comprehensive fix that provides cross-API support for the different GreaseMonkey implementations found in various browser add-ons. Update should be forthcoming after being stress-tested. As it turns out, there is no truly universal API standard between these tools and they have highly similar, but ultimately different, implementations, so we had to make a shim.

shazbot,

These cross-version issues should be fixed in the 2.0.0 release described here. Thank you.

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