LJ Inline Expander

By Ilya Dogolazky Last update Mar 3, 2008 — Installed 2,664 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 9 posts, 7 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
pech User

thanks!

 
greypillar User

Oh, thank you. (She says, leaving another comment like you asked us not to!)

 
Ilya Dogolazky Script's Author
I have fixed the issue with the new page structure. Comments opening and unfolding seem to work again. Download the new version (0.2.10) and enjoy.
NB! Any feedback is welcome but it's not a good idea to leave comments here (on userscript.org), please write me an e-mail (you can find my e-mail address here) or just comment on any entry in my LJ, for example this one
 
greypillar User

Violet, I just came here to report the same thing. I've not been able to expand comments for about four days now. LJ-cuts still open as they did.

I too would love if this was fixed.

Thank you.

 
Violet Tigress User

I love this script!... but I am having a problem with it not showing comments anymore. It did for awhile, but now it just links to comments. What did I do?

 
Noxumbra Scriptwright

Never mind, I figured it out!

 
Noxumbra Scriptwright

This script is awesome! Is there any way you could make a version for InsaneJournal.com?

 
Dani Church User

I love this script! One suggestion, though: the links you'll see in the expanded boxes all link to "light-format" versions of pages, and that's not very helpful. You can fix this by creating a function called clean_light:

function clean_light(text)
{
  text = text.replace(/format=light\\&/g, '') ;
  text = text.replace(/\\&format=light/g, '') ;
  text = text.replace(/\\?format=light/g, '') ;
  return text;
}

and calling it in three places:

Line 289: box.childNodes[0].innerHTML = clean_light(cut_text) ;
Line 296: var comments = extract_comments(clean_light(html_text)) ;
Line 308: var comments_page = extract_comments(clean_light(html_text)) ;

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel