OC 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.

IBNobody,
IBNobody avatar

Yessssssss. This one is how I wanted it to be.

Noki, (edited )
Noki avatar

Edit: Already fixed, Thank you very much.
This is how it looks to me.
im on firefox kbin.social with kbin enhancement script an the optins for Show collapse comment Show collapse replies off

artillect,
artillect avatar

I think I know what the issue with that is, should be an easy fix!

artillect,
artillect avatar

I fixed the issue, try updating! Apparently Firefox doesn't support the experimental :has() selector by default

Noki,
Noki avatar

it worked, thank you very much

BaroqueInMind,
BaroqueInMind avatar

Yes. This script is amazing!

artillect,
artillect avatar

Thank you!

Velskadi, (edited )

Sorry for triple posting, but just wanted to test this out real quick. The script seems to basically work, but I've found a couple issues; After my second post it showed the line only on the first post. The second post didn't get a collapse line until I collapsed/uncollapsed the first post.
Second, when I edited a comment it removed the collapse line from that post until I edited a second time. This doesn't seem to be consistent.
Third, and this might just be on my end, at some point while editing the posts, the second post is now on the far right of the comments window, instead of just slightly to the right of its parent comment.

I don't think these issues will be a huge deal, and I'm still looking forward to using this. Thanks for making it!

EDIT: Should also mention I'm on Firefox as well, incase that matters.

artillect,
artillect avatar

Thanks for the feedback! I'll see what I can do about fixing those issues. I think I might have partially fixed the first one, but the new comment isn't nesting properly.

Edit: this is a test to see if editing is working
Edit 2: my change didn't fix that, I'm on it

Velskadi,

Test Comment, Plz Collapse

Velskadi,

Test Nested Comment, Plz Ignore

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