Can't right click

.kalau korang tak suka orang copy-copy korang punya entry/ gambar,
korang boleh buat tutorial ni
.sangat senang~

1) .Buka Layout - Page Elements - Add a Gadjet
2) .Then pilih HTML/JavaScripts dan copy paste code di bawah ni
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Opss! Na Na Na! No Right Click Babe~";

///////////////////////////////////
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) .Ayat dalam font merah tuh, korang tukar dengan ayat korang sendiri
4) .Lastly tekan Save .Done! (:

.go, good luck!

No comments:

Post a Comment

Copyright© 2016 - 2017 reserved to Abdulwafiy