3.9.07

disable rightclick WITHOUT alert message


annyeong ! weee ~ aku rasa disable right click jenis nie lg mudah kott. huehueee ~ yela, korg xperlu la tulis ayat maki hamun kt org kan. hahaxx :D


utk copy kod : highlight pastu Ctrl+C !

design > add a gadget > HTML/ Javascipt

paste kod nie :

<script language=JavaScript><!--//Disable right click script III- By Renigade (renigade@mediaone.net)//For full source code, visit http://www.dauspozi.comvar 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>


save ! DONE ! :D

0 komen:

Post a Comment

 
This Blog Is Designed By MySelf@Aisyah