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

Tutorial Disable Right Click(without alert)

3 comments.. read them below or add one

Dayang Afiza Dayang Afiza 24 January, 2012
HAHAHA the descriptions bout me tu bha yg taken tu lucu pla haha btw thanks eca for the tutorials =)
ecadwinkyasha ecadwinkyasha 25 January, 2012
@Dayang Afiza...hahaha.taken taken :))
welcome dear :)
Bobby Bobby 13 April, 2012
Salam,

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

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