8.10.11

TUTORIAL : DISABLE RIGHT CLICK

Author : Nabila Medan Time : 10/08/2011 07:25:00 AM Total Comment : 2 Label :


Please Do Not Copy this tutor n Put this Tutor In Your Blog !
If You Want Copy This Tutor PLEASE Create Credit From Me!
This is My Own Code n My Own Tutor.


Tutorial untuk :
Disable right click

ikut step ini :

1.Dashboard > Design > Add a Gadget > HTML/JavaScript
2.Copy code ni :

<script language=JavaScript>
<!--

//edit by unwanted


var message="Masukkan Mesej Anda 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>


PERHATIAN!
ABC-ayat/mesej korang

3.Then SAVE !

2 comments

Tuesday, December 20, 2011 4:42:00 PM Delete! [Reply Comment]

hee.. da lame cr cne nk wat! tenkiu ye..

Saturday, March 31, 2012 1:07:00 PM Delete! [Reply Comment]

Jaja dah buat... thanks

Post a Comment
Related Posts Plugin for WordPress, Blogger...