nameandnature: Giles from Buffy (Default)
[personal profile] nameandnature
The LJ New Comments script now copes better with the bewildering variety of journal styles that are out there. I also stopped it from giving up in disgust if a style allows it to see the comments but doesn't provide a permanent link to each comment, as the "n" and "p" keys will still work in these styles (q.v. [livejournal.com profile] peacerose's journal, for example).

I'm now using scrollIntoView to move each new comment to the top as you click or press keys, so you don't get a new history entry for each comment you visit (I was annoyed with having to hit the "Back" button multiple times to leave the entry). The docs for Greasemonkey allege that scrollIntoView doesn't work within Greasemonkey unless you do special stuff, but I seem to be getting away with it. Possibly I've broken the script for people not using Firefox 1.5, but such people need to feel the white heat of technology, anyway.

Ph34r my sk1llz!

ETA: Except that I broke it again trying to make it handle all the extra ways of denoting comments. v0.4, now on the userscripts.org site, seems to be working.

Date: 2006-01-04 02:12 am (UTC)
From: [identity profile] romex1nt.livejournal.com
u r s0 l337 dude. ur skript is da bom. :-)

Date: 2006-01-09 01:41 am (UTC)
From: [identity profile] mrlachatte.livejournal.com
I'm quite impressed with your script, just thought I'd link to another journal that appears to have the same problem as [livejournal.com profile] peacerose's journal use to have: evan_tech (http://www.livejournal.com/community/evan_tech/157911.html) is here, if you're feeling up to it.

Date: 2006-01-17 04:43 am (UTC)
From: [identity profile] mrlachatte.livejournal.com
Hooray, I just saw it say "-1 new" for one entry :D

Profile

nameandnature: Giles from Buffy (Default)
nameandnature

December 2025

S M T W T F S
 123456
78910111213
14151617181920
2122 2324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 5th, 2026 07:46 am
Powered by Dreamwidth Studios