I created a very small script that creates an alert box saying "YOU CLICKED!" every time a person left clicks on the page, my problem is that i wish for it to occur upon right click too (this is for demonstration/experimentation purposes only). Here is my original script:
<script>
window.onclick=function() {alert("You clicked!");}
</script>