Tutorial Disable Right Click(without alert)

Tutorial Disable Right Click(without alert)


^_ASSALAMMUALAIKUM_^

Tutorial Disable Right Click a.k.a TAK BOLEH KLIK KANAN untuk tujuan mencopy+paste.
Tutorial kali ini diREQUEST oleh Dayang Afiza.(she's my unimate and she's taken!)

1st: Design/Layout -- Add A Gadget --> Edit HTML/JavaScript.
2nd: Copy Kod dibawah dan masukkan ke Edit HTML/JavaScript
<script language=JavaScript><!--
//Disable right click script III- By Renigade (renigade@mediaone.net)//For full source code, visit http://www.dynamicdrive.com
var message="";///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")// --> </script>

sumber:DynamicDrive

Post a Comment

3 Comments

  1. HAHAHA the descriptions bout me tu bha yg taken tu lucu pla haha btw thanks eca for the tutorials =)

    ReplyDelete
  2. @Dayang Afiza...hahaha.taken taken :))
    welcome dear :)

    ReplyDelete
  3. Salam,

    SMTI. saya mohon copy paste html ni di blog saya! :)

    ReplyDelete

Terima Kasih atas komen anda.
Eca akan balas & terjah anda secepat mungkin.
*-*