Bildirimli sağ tık engeli
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var mymessage = "Yassaaaaaaak";
function rtclickcheck(keyp){
if (navigator.appName == "Netscape" && keyp.which == 3) {
alert(mymessage);
return false;
}
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {
alert(mymessage);
return false;
}
}
document.onmousedown = rtclickcheck
//-->
</script>
Bildirimsiz sağ tık ve yazı seçme engeli:
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"></body>
Hiç yorum yok: