Skip to main content
3 of 9
added 367 characters in body
balpha Staff
  • 11k
  • 3
  • 29
  • 27

Threaded comments

##Screenshot

Before:

comments without threading http://i.imgur.com/rlvZg.png

After:

comments with threading http://i.imgur.com/ykhxU.png

##About

Instead of showing comments in chronological order, this user script displays them in a threaded view, making it easier to follow conversations in long comment threads.

It uses heuristics similar to the @-reply recognition (but it is a little bit more flexible).

It should be noted that this may obviously change the order in which comments are displayed, so you cannot rely on a chronological order anymore. In most cases this doesn't matter, but sometimes it just might.

Update 2011/07/10: As suggested by George Edison, now offers a button to undo the threading on a particular post, in case you want to see the comments in their regular order. I'm not 100% happy with the UI, but I guess it's good enough. The script also got a little smarter about finding the replied-to comment.

###Download

install / update scriptview source

###Platform

I have tested this script in Chrome (Windows 7), Chromium (Fedora 14), and Firefox + Greasemonkey (both OSes).

##Contact

This script is created by Benjamin Dumke. Note that this is a free-time project of mine, and has nothing to do with my employment at Stack Overflow. See my profile for contact details; you can also often find me in the Tavern on Meta Stack Overflow chat.

balpha Staff
  • 11k
  • 3
  • 29
  • 27