Ver Mensaje Individual
  #10 (permalink)  
Antiguo 25/03/2002, 20:44
Tomillo
 
Fecha de Ingreso: febrero-2002
Mensajes: 503
Antigüedad: 23 años
Puntos: 0
Re: Los Mejores Scripts de lo que sea

Deshabilita el click del botón derecho pero no lo informa
Calificaciones: 10


<html>
<head>
<title> Deshabilitar botón derecho </title>
</head>

<body>
<script language=JavaScript>
<!--
var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&am p;!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.oncontext menu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>
</body>
</html>