02-08-2008, 01:37
|
#1 (permalink)
|
|
|
Sağ Tuş Kilidi JavaScript
Sitede Sağ Tuşu Kilitlemek İçin Kullanılır.
HTML-Kodu:
<html>
<head><!--webbot bot="HTMLMarkup" startspan --><script language=JavaScript>
<!--
var message="Function Disabled!";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script><!--webbot bot="HTMLMarkup" endspan --></p>
<title>Sağ tuş kilidi</title>
</head>
<body onload="typew()">
<p><a href="http://www.netciforum.com"><b>http://www.netciforum.com</b></a></p>
</body>
</html>
|
|
|