Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/11/2008, 17:17
calbart
 
Fecha de Ingreso: agosto-2008
Mensajes: 124
Antigüedad: 15 años, 7 meses
Puntos: 0
Respuesta: problemas con redirecciones

La dirección es ficticia, pero es el código script que me esta jodiendo. Hay forma de contraatacar...?

Código HTML:
<script>
	var strTop = ("" + top.location);
	strTop = strTop.substring( 7 );
	strTop = strTop.substring( 0, strTop.indexOf( "/" ) );

	if( strTop != "www.otraweb.com" && strTop != "www2.otraweb.com" && strTop != "www3.otraweb.com" && strTop != "www4.otraweb.com" && strTop != "www5.otraweb.com" && strTop != "www6.otraweb.com" && strTop != "www7.otraweb.com" && strTop != "www8.otraweb.com" && strTop != "www10.otraweb.com" && strTop != "www11.otraweb.com" && strTop != "www12.otraweb.com" && strTop != "www15.otraweb.com" && strTop != "www16.otraweb.com" && strTop != "www17.otraweb.com" && strTop != "www18.otraweb.com" && strTop != "www19.otraweb.com" && strTop != "www20.otraweb.com" && strTop != "www21.otraweb.com" && strTop != "www22.otraweb.com" && strTop != "www.otraweb.dk" )
	{
		top.location.href = "http://www.otraweb.com";
	}
</script>