16-04-11, 03:29
|
#1 |
Üyelik tarihi: Feb 2011 Yaş: 23 Aldığı Teşekkür : 18 NF Puanı : 32293 | Sağ Tıklama Yasağı Bu dersimizde sağ tıklama yasağını öğreneceğiz...
Sağ tuş kilidini yapmak için aşağıdaki kodu yazmak gereklidir.
<script language=\"JavaScript1.2\">function disableselect(e){return false}function reEnable(){return true}//if IE4+document.onselectstart=new Function (\"return false\")//if NS6if (window.sidebar){document.onmousedown=disableselec tdocument.onclick=reEnable}</script><!-- Script-Ende --><SCRIPT LANGUAGE=\"JavaScript1.1\">function right(e) {if (navigator.appName == \'Netscape\' &&(e.which == 3 || e.which == 2))return false;else if (navigator.appName == \'Microsoft Internet Explorer\' &&(event.button == 2 || event.button == 3)) {alert(\"BURAYA YAZINIZI YAZIN\");return false;}return true;}document.onmousedown=right;document.onmouseu p=right;if (document.layers) window.captureEvents(Event.MOUSEDOWN);if (document.layers) window.captureEvents(Event.MOUSEUP);window.onmouse down=right;window.onmouseup=right;// End --></script><SCRIPT language=Javascript><!-- Highlight and Copy formvar copytoclip=1function HighlightAll(theField) {var tempval=eval(\"document.\"+theField)tempval.focus( )tempval.select()if (document.all&©toclip==1){therange=tempval.createT extRange()therange.execCommand(\"Copy\")var mymessage = \"BURAYA YAZINIZI YAZIN\";alert(mymessage);}}//--></SCRIPT><p align=\"center\"></p> |
| | |