Two missing features in kbin: Collapse comments and quick preview of images/videos

While using kbin, I realized that I keep going back to a Lemmy instance because it lacks two important features Lemmy (and Reddit) have:

  • Collapse comments
  • Quick preview of text, images and videos (single click to thumbnail)

Can this be added or is there a browser extension available adding these features?

I know there are many more features which are requested or planned, but these two are important basic features what makes browsing the community easier and quicker.

Habnab, (edited )

With the help of ChatGPT I made a userscript that enables collapsing comments and their children:

It adds a little chevron you can click next to the time in the header of comments.



  • Loading...
  • Habnab,

    Yeah that would definitely be optimal but kbin is built with PHP which I don't have much interest in working with in my free time lol.

    I imagine collapsing will be officially added fairly soon tho.


    Hm. I kinda wish it would only collapse the replies but not the entire top level comment. It would also be nice to have a collapse / expand all button.


    I've updated the script to add a "hide replies" button


    Also, while publishing that I saw this other userscript that moves the comment writing box to the top of the comments instead of the bottom, very nice.

    CodingAndCoffee avatar

    Here's one I wrote which recursively collapses comments, and collapses top-level comments by default

    vizhal007 avatar

    Can you change the collapse text to the chevron from OP's code, or is that a feature?

    CodingAndCoffee avatar

    I can add some variations of the script including that, yes.

    The one thing I noticed is there are some text wrapping issues on Android Firefox that I'll fix tomorrow as well

    vizhal007 avatar


    Do i need to download something else when you do change it or does it get updated automatically?

    CodingAndCoffee avatar

    version 0.8 is out, now supporting as well as

    chevrons are now used. mobile experience is way more intuitive and looks cleaner

    vizhal007 avatar

    This is great, thanks a lot!

    vizhal007 avatar

    Holy shit, you've blown my mind with being able to change UI on the fly. Is this a fediverse only thing?

    EnglishMobster avatar

    Nah, a lot of places can do it. Even Reddit could do it, on Old Reddit.

    New Reddit I think made it a lot harder.


    Collapsible comments is going to come at some point.

    prallax avatar

    Yes!! Bring collapsible comments please! So far I am enjoying the experience. I do all my Kbin reading on phone using Safari. The web app is working well if only I could collapse comments I probably could go a long time like this until hopefully an app is released.

    QuestioningEspecialy avatar

    Collapse 👏🏿 The 👏🏿 Comments 👏🏿

    NRVulture, (edited )
    NRVulture avatar

    I think kbin also needs a collapse post feature, or ditching the paginated comments and implementing endless scrolling comments instead. Reading comments on mobile when the original post is long can be a hassle coz viewing comments on next page basically reloads the whole webpage and I'm back to the top.

    And an easier way to subscribe to magazines from a different federated instance. Right now I have to go to their instance, copy the "email address" and paste it to the search bar on kbin, replace the first "!" with "@" coz the latter is the one used on kbin, hit enter and click subscribe.


    it would be cool if the site would autoload more posts when you scroll down, so that you dont have to click on "next" or something.

    re avatar

    The "Infinite scroll" setting is most likely intended to be the toggle for that, I assume it's currently just bugged.

    Skeptic043 avatar

    I think I remember seeing something about that being disabled for the time being to help prevent the server(s) being overloaded due to the influx of new users, although I could be wrong. I imagine it'll be re-enabled before long.


    I might be missing something but it also looks like saving comments/posts isn't possible, at least on mobile. That definitely needs to be implemented at some point.


    This is the feature I have been looking around to find and it seems like it just isn't supported yet, as far as I can see.

    The datahoarder/librarian in me has me always reflexively looking for it. I tend to read on my phone and then when I'm at my computer I go through things I've saved for a more in depth exploration.

    I am barely PHP literate so I'm not much help for developing support for this.

    ngmi avatar

    A quicker way to comment on mobile, scrolling through the whole thread is kinda annoying

    0x1C3B00DA avatar


    Check if those are already requested and if not, file issues for them.

    new_world avatar

    Quick image preview would be a great quality of life improvement. That and having to scroll all the way to the bottom to comment.

    FaceDeer avatar

    I think it'd be good to have a reply field at the top and bottom of the comment list. The top one for when I want to angrily fire off my very important opinion without bothering to read through the whole comment list to see if anyone else has already angrily fired it off, and the bottom one for when I've finished reading all of the existing comments and have synthesized a well-considered and balanced opinion that accounts for all of what has been said so far (never used).

    re avatar

    Some apps just have a floating button like the "return to top" button to add a new comment. Works especially well on mobile, can imagine it feeling quite janky on desktop.


    A “jump to next top-level comment” button would also be a great addition alongside comment collapsing.


    Don't we already have image preview with a single click?

    It's just this little button instead of the thumbnail:

    The same is next to the link in comments.


    Although this unfortunately does not work with text, like in RES.


    Learning the new stuff like this will help, but I do prefer seeing an actual thumbnail image itself. If it could be expanded without opening the link that would be amazing too.

    FaceDeer avatar

    I could see this being troublesome sometimes, trolls could stick images into the comments that go straight into the part of your brain that remembers horrifying images and pops them back up into your conscious mind at random intervals throughout the rest of your life.

    Might be a thing that you could have settings for, both in the configuration of a community ("magazine" is a weird name for this, sorry) and in your personal settings. Turning it off could save bandwidth, too, though probably a specialized theme for that would be better.

    Theoctoling201 avatar

    I’m new to this. Is there a Dm feature for private conversations yet? If not, hope someday Kbin gets a feature including groups.

    MothraCultist avatar

    if you click on someone's profile there is an option to send them a direct message

    wolfshadowheart avatar

    I use Imagus and hovering over the thumbnail provides a small portion of the image. Not ideal for guides, but handy for previewing.

    namesare4squares avatar

    Infinity scroll in comment threads would be great too, unless I've just missed the setting for that one.


    Recent join and endless scrolling of comments and post is the one feature that I'm missing from Boost / Reddit Enchancement Suite.


    Remember to turn on infinite scroll then


    Sorry - quick question - how are you getting rid of the left and right whitespace? I have a good 30% of my screen taken up by margins (like on new reddit).

    Your screenshot looks way nicer.


    Sorry to disappoint but that's just a screenshot of part of the page lol, haven't changed anything.

    But you could probably make a userstyle that tweaks it for you.


    does it work for you though? I have enabled "infinity scroll" but still see pagination at the end of the comments. Or isn't it for the comments in the first place?

    grus avatar

    Quick preview of images and videos (single click to thumbnail)

    Also a quick preview of linked images: if you hover a link like this it should show off a popup with the image (I know there's an icon you can click and it expands and embed, but I'm a lazy bastard and I think everyone's like me, lol)

    Also in the drop down next to the username, besides Subscribed/Moderated/Favorites/All, maybe it'd be useful if it has a list of all the magazines you're subscribed to for easy access? I find myself going through several steps/links if I want to reach the magazine that I want.
    Or any other easily accessible place where we can pin particular magazines for easy access.


    Collapsible comments are the only point making me still consider lemmy. I may just go spin up my own kbin instance and hack in the functionality myself.

    VerifiablyMrWonka avatar

    And then submit the changes upstream 😉

    FaceDeer avatar

    But then how will he draw users specifically to his instance and away from all the others, allowing him to eventually cash in one day by putting a paywall on his instance's API access? :)

    Kierunkowy74 avatar

    Not yet. is only 18th largest fediverse server by MAU (data by Some Mastodon servers are up to 3 times larger than has 20 times more MAU.


    With everything going on currently I'd expect those numbers to change fast

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