Skip to content

Instantly share code, notes, and snippets.

@williamd1k0
Created July 27, 2015 16:33
Show Gist options
  • Save williamd1k0/bc7aaa059a2c87c94eb4 to your computer and use it in GitHub Desktop.
Save williamd1k0/bc7aaa059a2c87c94eb4 to your computer and use it in GitHub Desktop.
var body = qS('body');
body.onmousedown = function(mouse){
if (mouse.button === 2) {
alert("Você não pode fazer isso aqui, rapá!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment