2. Klik "Tata Letak"
3. Klik "Tambahkan Gadget" lalu klik "HTML/Javascript"
4. Copy code javascript berikut ini :
<script language=javascript>
var message="Right click is disabled...";
///////////////////////////////////
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>
4. Copy code javascript berikut ini :
<script language=javascript>
var message="Right click is disabled...";
///////////////////////////////////
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>
5. Ubah yang berwarna biru dengan kalimat sesuka anda
6. Kemudian klik "Simpan" dan blog anda sudah anti "Right Click"
terimakasih buat tutorialnya sob, sangat membantu sekali..
BalasHapushttp://obattraditional.com/obat-tradisional-arthritis/