Tema: pop flash
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/01/2007, 09:25
Avatar de sirguy
sirguy
 
Fecha de Ingreso: septiembre-2006
Ubicación: Mallorca
Mensajes: 959
Antigüedad: 17 años, 6 meses
Puntos: 12
Re: pop flash

No te recomiendo que uses los scripts, existen mil maneras más de leerte el código fuente y puteas al usuario sin motivo.

Botón derecho:

<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
</script>

Pantalla sin herramientas:

<script>
function pantalla(){
window.open("http://www.forosdelweb.com","","channelmode,scrollbars")
}
</script>