- Login ke blogger
- Pergi ke Rancangan / Design (untuk blogger tampilan baru : klik menu Template)
- Klik Edit HTML
- Cari kode </head>
kemudian pasang kode berikut di atasnya kode </head>
<
script
language
=
'JavaScript'
>
//
<![CDATA[
<!--
/********
*Copyprotection for this site is provided by WP-CopyProtect v1.9.1 visit www.TheChetan.com/wp-copyprotect/ for more details
*RightClick Disabled, Please DO NOT COPY. Add to this blog by www.AhmadRifai.net
**********/
var message="Sorry, dilarang klik kanan bos!!!";
///////////////////////////////////
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
>
Share
Tidak ada komentar:
Posting Komentar