my first user script
Feb 17, 2005, 11:32pm EST
My first (real)
greasemonkey user script is for
adding
user pics to livejournal user links. That is, if you hover over a
livejournal user link (like this one:
idealisms),
the user’s userpic appear above your cursor.
Futhermore, the script use XMLHttpRequests and doesn’t require user intervention because all the requests are made to livejournal.com.
I had actually done something similar in my livejournal S2 style, but I gave up when I realized that there was no way to get userpic urls for most user links in S2. I was reminded of the idea today when I read about a related PHP script.
Hmm, it’s unclear to me whether I should have posted this here on my tech blog or on my more personal livejournal.
RustyDragon at Oct 13, 2005, 12:12pm EDT
Hi!
It’s a very cool script! Thanks a lot for it! I feel a little guilty because I used it as a part of mine… Basically mine does the same thing plus shows some useful links in a popup.
I also improved fetching algorythm a bit. Now on slow connection, if user hovers a link twice (like “move out” - “move in” again) before userpic is loaded - no unneeded and duplicating fetches are performed.
http://userscripts.com/scripts/show/1945