Jumat, 25 Mei 2012

Panduan Membuat Blog Tidak Bisa Diklik Kanan copy paste


  1. Login ke blogger
  2. Pergi ke Rancangan / Design (untuk blogger tampilan baru : klik menu Template)
  3. Klik Edit HTML
  4. 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

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))