LiveJournal Thread Expander with Expand All
http://userscripts.org/scripts/show/27128
I've hacked up a Thread Expander script for Greasemonkey. It has only been
tested on a small number of layouts, but it seems to work for me so please bang
on it and report any breakages here.
For recent updates
see below.
What does it do?
We've all
(
Read more... )
Comments 43
You did make me LOL with "probably the only person in the world who browses with Greasemonkey enabled and JavaScript disabled", but I suspect you're wrong - you can't be the only nutter in the world. ;)
Reply
Oh well. It demonstrates my LJ + Geek credentials though, no? ;-)
probably a good job I use LJA**O*s instead.
Um. What??
I know, it's probably a Firefox extension. I don't do Firefox extensions, because I use SeaMonkey - which brings me to…
you can't be the only nutter in the world.
Still sure? :-)
Reply
Reply
(in particular, make the js run after the page has finished loading)
... have user js which supplies GM_ functions for opera
(maybe only needed for the GM_log debugging)
... top-level 'return' is a syntax error, I replaced with 'exit'
... unsafeWindow is a greaseMonkey object, replace instances with 'window'
seems to be working now. Ace.
(can we have a 'collapse again' in V2?)
Reply
As for V2, I guess that's a long way off. ;-)
Reply
if (info == undefined) return;
I changed return to exit and it works great, no JavaScript errors, even on Dreamwidth! It does need the gmfunctions helper script, like most scripts that weren't written especially for Opera.
Thank you so much!
Reply
Now if only Opera would be a bit quicker at this whole thing and not fail when the site gets too long... But it's not like I'll switch browser anyways, they've got me hooked.
Reply
Reply
Reply
It depends on how much those other sites have tinkered with the comment-displaying code and what their styles are like. I don't know, since I don't have accounts on those sites (and of course Dreamwidth wasn't a reality at the time when I posted this code).
Reply
ETA: Works on the ?format=light pages, w00t!
ETA 2: Also on site-style pages, yay!
Now if it only worked one the custom comments pages, which all the styles seem to default to...
Reply
"Expand all" function unavaiable on some journals, maybe it depends of a style used.
Reply
Reply
Reply
Leave a comment