Assigning and removing event handlers in Javascript
After enabling mouseclicks you can examine attributes of the event.

X: y:
<<<<button at left
turns on listeners for:
button at right>>>>
form
document.body
document
and window