Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DoubleRightClick = function(event){
- var c =0 ;
- onmousedown=function(event){
- if(event.button == 2){
- c++;
- setTimeout(cc, 600);
- }
- if (c >1){
- alert("Double Right Click Activated!")
- }
- }
- function cc{
- c=0;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement