Selasa, 24 Januari 2012

Anti copy paste script


Khusus Blogger :
Anda tidak ingin tulisan anda di copas tanpa izin?
naah saya punya script anti copy paste ( anti right click )









Step by step:

  • Login blogger.com
  • Klik rancangan
  • Tambah widget, pilih HTML
  • masukkan script dibawah


<script>
    var message="tombol klik kanan anda error";
    ///////////////////////////////////
    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>



  • Teks warna biru bisa anda rubah
  • Save/ simpan
  • Selesai

newer post older post home