Skip Navigation
/kbin meta @kbin.social

Improved Collapsible Comments - Script that lets you collapse replies by clicking a line to the side of each comment

Download it from greasyfork

This userscript for kbin enhances the comment section adjusting the layout and adding a line to the left of each comment and its replies that lets you collapse them. The design is inspired by some custom subreddit stylesheets, and new reddit surprisingly enough (you know what they say about broken clocks).

Personally, I think this is the best way to handle collapsing comments here's a screenshot.

A video of it in action

If you don't have a userscript manager extension installed, you can install Tampermonkey, and then open the greasyfork link above.

36 comments
  • This is SO much better than the default thread view, I love it. Thank you!

    One tiny nitpick though, is there any way I can add back in the small padding between user comments to keep each comment chain separate? Right now it looks like one big comment chain.

    • Thanks, I'm glad to hear you like it!

      Good call about the padding, I'll add that back in the next update. For now, you can edit the script, and add this to line 150, after styles.innerHTML =

       
          
      .comments div {
          border-left: none !important;
      }
      .entry-comment .children {
          gap: 8px;
      }
      .comment-level--1 {
          margin-bottom: 8px;
      }
      
      
        
  • You have the URL components backwards! Text in [ ] first, followed by link in ( ).

    Trying this out now!

    • Hmm, instant chaos in Firefox 115.0b6 unfortunately! I disabled all other kbin userscripts, same issue.

      Screenshot here

    • Thanks for pointing that out! I fixed it in my post about it on /m/kbinStyles but forgot to fix that before posting it here lol

  • Love this, it works great and adds clarity to the comments! I'm using it in conjuction with @SirPsychoMantis's user script, and the two are happily coexisting together. There's some visual bugs due to the two having the same function but appending additional characters in different places, but it's working fine.

    EDIT: So on mobile, it kinda breaks. See here.

  • @artillect well done. works perfect on my end. hopefully this is implemented into the offical kbin site

36 comments