click left event listener javascrip code example Example: click left event listener javascrip object.addEventListener("contextmenu", myScript);