Skip to content

간단한 오른쪽 마우스 클릭 금지

MintState October 31, 2008 at 11:52 AM Views 13588

간단한 오른쪽 마우스 클릭 금지

<script language=JavaScript> 
function click() { 
     if ((event.button==2) || (event.button==3)) { 
          alert('오른쪽마우스사용금지'); 
     } 
} 
document.onmousedown=click 
</script> 
Share X Facebook LINE QR code

0 comments

Be the first to comment.