![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/08/2004, 11:48
|
| | Fecha de Ingreso: agosto-2004
Mensajes: 15
Antigüedad: 20 años, 5 meses Puntos: 0 | |
Prueba esto <!-- Con este metatag deshabilitas la copia de imagenes -->
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<SCRIPT LANGUAGE="JavaScript"> <!-- Con este script obligas a abrir en ventana completa-->
<!-- Begin
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen ,scrollbars')
}
// End -->
</script>
<script language=JavaScript>
<!-- //deshabilita el boton derecho
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.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>
<script language="JavaScript1.2"> //Deshabilita copiar el texto
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
Bueno, creo que con esto, aunque se abra pagina nueva con <control>+u, sigue deshabilitada la copia, tanto por boton derecho como por menus.
Pruebalo y me dices, OK? |