Thursday, December 31, 2009

Script Anti Klik Kanan

Ngetes script untuk mematikan klik kanan



Ini kodenya:
<script type="text/javascript">
var msg = "No right click, please... :)";
function rclk(keyp){
 if (navigator.appName == "Netscape" && keyp.which == 3){
  alert(msg); return false;
 }
 if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {
  alert(msg); return false;
 }
}
document.onmousedown = rclk;
<!-- http://www.spacegun.co.uk -->
</script>

Coba klik kanan di sini, bisa ga???

.

No comments:

Post a Comment