My mouse has two buttons on the side, whose default behaviour are “Back” and “Forward”.
What I’d like to know is whether or not it’s possible to detect clicks of these mouse buttons in JavaScript, or if these are “special” buttons akin to the keyboard’s “Play”, “Volume Up” and “Wireless on/off” buttons.
I am not aware of any specific mouse events.
You can, however, easily find out yourself by inspecting the
eventobject of themousedownevent. Fullscreen fiddle: http://jsfiddle.net/dWfDL/1/show/