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 23, 2005, 09:31pm EST
That’s some neat little code, but I seem to have run into a problem. The code seems to break the javascript menu at the top of the main livejournal page and other pages on the website - sometimes it works and sometimes it doesn’t.
Also, I’ve found the plugin to be somewhat inconsistent. Sometimes no longer how long I hover over a name, their image doesn’t show up. Just thought I’d let you know.