Tenemos este interesante código que es para evitar que sean copiados nuestros datos de la web
Lo interesante es que podemos dar un mensaje a nuestros visitantes
<Script language=JavaScript>
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert("Coloca el mensaje aquí.");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Coloca el mensaje aquí.");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
</script>
APRENDE MUCHAS MAS COSAS DESDE NUESTRAS REDES SOCIALES
POR SI TIENES PREGUNTAS
No hay comentarios:
Publicar un comentario