Disable right click


apa itu DISABLE RIGHT CLICK??
hah nie kalau kowg xnk owg yg msuk blog kowg tue
copy ape yg kowg tulis...huhuhu


1. Dashboard >Design>Add a Page element >html/javascript

2. copy code kt bwh nie ye  ( TEKAN CTRL 'C' UTK COPY) 


<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>


3. yg warna merah tue...kowg ley tukar dgn ayt kowg sndr erk...

4. then kowg save and lihatlah hasilnya...



selamat mencuba!!
1 Komentar untuk "Disable right click"

thnx kak ika....like like like

Terima kasih untuk komen yang berharga anda, datang lagi.

 
Copyright © 2014 Bakul2011.com - All Rights Reserved
Template By. Catatan Info