Apart from the obvious onclick
event handler, how can I detect if the user tabbed the link and hit enter or whatever other key/device that would make the link open?
Also, is it possible to detect a middle mouse button click (defaults to open in new tab)?