The code below (userJS code) simply create a link, and If click on that link, it pops up an alert.
It seems to work, but have a problem:
the alert associated with onclick event pops automatically when the page starts... I really don't know how it may happen...
I'm using FF, maybe it's a setting...