LJ Thread Unfolder w/ Unfold All, for all layouts (greasemonkey)

Nov 23, 2007 23:53

This script adds unfold functionality to LJ, it will unfold comments that have been hidden without having to reload the page or browse to a different page.

Originally by Tim Babych and extended by Henrik N, I've updated this Greasemonkey script to work with most/all LJ layouts ( Read more... )

Leave a comment

Comments 63

snakeling November 24 2007, 19:45:34 UTC
Oh, thanks for that! :) Though I had become quite familiar with ?format=light.

Theoretically, it should work with LJ clones, too, shouldn't it?

Reply

mordyn4 November 24 2007, 20:17:07 UTC
Yep, at least it works with greatestjournal and insanejournal. You have to add them to the include list, although they are set to be added to the script some time today.

Reply

mrmord November 24 2007, 20:23:40 UTC
Added insanejournal and greatestjournal to the include list by default

Reply

snakeling November 24 2007, 21:36:28 UTC
Wonderful, thanks! Could you please add http://*.journalfen.net/* too, please? (I've done it on my computer, obviously, but it's nice when it's done automatically :) )

Reply


flamencanyc November 24 2007, 21:02:31 UTC
I'm totally in love with this, especially the "unfold all" capability. I've been wishing for this since the first day I joined LJ!

It works great in about half of the posts in which I have tried it.

Unfortunately, in the other half I'm noticing two different problems.

First, in many of my friends' folded posts the "unfold all" link never appears at all.

In some others, it's there, and it works, but when everything is unfolded, the first comment in each thread appears twice.

I can send you examples of both of these privately if you'd like.

But most importantly, even with only half of them working, it's a world better than none, so thank you, thank you, thank you! ♥

Reply

mrmord November 24 2007, 21:07:18 UTC
I think I've fixed a few of these issues in the latest update, try it out now.

Reply


taral November 24 2007, 23:46:27 UTC
Feel free to integrate the multi-unfold and no-xmlhttpreq version I have: http://taral.dreamhost.com/ljthreadunfolder.user.js

Reply

mrmord November 25 2007, 00:01:02 UTC
Hey, I tried your script with several layouts, even format=light and it doesn't seem to work at all. Is there a specific layout I should be trying your script with?

Looked at the source, looks interesting, is there a reason you would rather do an iframe instead of an xmlhttprequest? (I'm guessing for cross-site scripting?)

Reply

taral November 26 2007, 00:27:32 UTC
Um, it was designed to work on Punquin Elegant S1 style...

The reason for the iframe is that the return from the server is NOT xml, so parsing it as XML is improper. Using an iframe enables the script to leverage the browser's proper parsing engines.

Reply


cellio November 25 2007, 02:53:17 UTC
Wow -- I've been wanting that for ages.

But I'm getting no script love with Gradient Strip -- sample entry with more than 50 comments. Should I be seeing something here?

Reply

mrmord November 25 2007, 07:40:01 UTC
I'm working on getting this specific layout working, it's quite a bit different than other layouts. Hopefully I'll have a fix for it very soon.

Reply


jofish22 November 25 2007, 17:09:21 UTC
This is sweet -- and it works with Opera. Brill.

On the feature-request rather than bug list, "unfold thread", next to (Reply to this)(Thread), sure would be nice.

Many thanks.

Reply

mrmord November 25 2007, 22:11:49 UTC
I am definitely looking into how I can do this across the board

Reply


Leave a comment

Up