Clayfoot (clayfoot) wrote in lj_nifty,
Clayfoot
clayfoot
lj_nifty

Greasemonkey script: Collapse friends page entries

UPDATE: Added a menu item to toggle whether entries are expanded or collapsed, by default.

Let's face it: On any given day, some of the entries on your friends page are more worthwhile than others. To help find the diamonds in the rough, I wrote a Greasemonkey script that collapses the text of all of the entries on the friends page down to a [+] sign. When you click on the [+] sign, it changes to a [-] and expands the journal entry in-line. Click it again, and the entry collapes. Hover over the [+] symbol, and the first 100 characters pops up as the hyperlink's title. Because LJ renders every layout differently, this script works better on some layouts than others. I have dreams of expanding it to all LJ layouts, if someone can explain to me a way to universally find the entry text on the friends page. In the meantime, here's a list of tested layouts and how well they work with this script:
LJ Layout Works
3 Column MAYBE
A Novel Conundrum NO
A Sturdy Gesture YES
Classic NO
Clean And Simple MAYBE
Cuteness Attack YES
Digital Multiplex NO
Flexible Squares MAYBE
Generator NO
Magazine NO
Nebula YES
Notepad NO
Punquin Elegant NO
Smooth Sailing YES
Tabular Indent NO
Tranquility II YES
Unearthed YES
Variable Flow SORTA
   
The Boxer NO
Opal NO
Component NO
Gradient Strip NO


Here's a screenshot of some (public) entries on my friends list. The little [+] signs are the links to expand the collapsed text.



Install the script from here:

LJ Collapse

Of course, you'll need FireFox and the Greasemonkey extension.

Cross-posted to greasemonkies.
Subscribe

  • friends history

    many years ago, we had the marnanel joule that kept track of our friends history. but it went away around 2011. in fact a lot of livejournal has…

  • ArtLJ

    I was screwing around with custom styles earlier when I stumbled across artlj ( Translations available at Google and Microsoft). It…

  • No more grey comment button!

    Last night I hacked together a Greasemonkey script so that anyone affected by the grey comment button problem can post a comment. Any comments or…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 73 comments
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →

  • friends history

    many years ago, we had the marnanel joule that kept track of our friends history. but it went away around 2011. in fact a lot of livejournal has…

  • ArtLJ

    I was screwing around with custom styles earlier when I stumbled across artlj ( Translations available at Google and Microsoft). It…

  • No more grey comment button!

    Last night I hacked together a Greasemonkey script so that anyone affected by the grey comment button problem can post a comment. Any comments or…