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.
Wetzel at Feb 24, 2005, 10:08am EST
When I try to use the menu at the top of http://www.livejournal.com/, it tries to load my userpic when I move the cursor over “journal” instead of drawing the submenu below it with “Update, Recent, Archive” etc. in it. If I click on journal, then the submenu appears, but by then it’s too late to select something from it.
I’m running the normal firefox 1.0 build from mozilla. But, I do have 20 extensions installed (with five or six greasemonkey scripts), and it could be a combination of extensions interfering here - but still when I disable your code in greasemonkey, the menu works again.
And I think you’re right, maybe I was just finding users without userpics, Doh!