Tutorial Disable Right Click(with msg)

السلام عليكم و رحمة الله و بركاته

Salam..yg ni tuk bg pngajaran pada owg yg nk copy entry anda..haha

1.Design>Add a Page element >html/javascript
2.Copy code bwah ni..than paste
<script language=JavaScript>
<!--

//edit by unwanted


var message="MESEJ DISINI";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>

3.Tulis MESEJ DISINI mngikut ayat korang..

4.Ciap..then save..

May Allah blessed us

 
Copyright © 2010-2016 | iurprincess.blogspot.com | All Righted Reserved | Designed By : Nur