04/08/2005, 00:53
|
| Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 10 meses Puntos: 61 | |
Se cierra porque se ejecuta la orden de cerrar antes de la de abrir la pop up.
Es fácil saltar la protección del botón derecho. Sólo tienes que pinchar con el botón derecho fuera de la ventana y, sin soltarlo, arrastrarlo hasta dentro de la misma. Una vez allí lo sueltas y voila!
En cualquier caso yo lo he conseguido viendo el código de la ventana que lo abre,haciendome yo un archivo con un enlace a esa página y dándole a guardar como.
Ten cuidado porque ninguna página está libre de que te la cotilleen. Es fácil entrar.
Un saludo!!
El código de la página es este: Código PHP: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<!-- IMP: Copyright 2001, The Horde Project. IMP is under the GPL. -->
<!-- Horde Project: http://horde.org/ | IMP: http://horde.org/imp/ -->
<!-- GNU Public License: http://www.fsf.org/copyleft/gpl.html -->
<html lang="es-ES"><head>
<script language="JavaScript">
<!--
// No rightclick script v.2.5
// (c) 1998 barts1000
// [email protected]
// Don't delete this header!
var message="por favor";
// Don't edit below!
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
<SCRIPT language="javascript" type="text/javascript">
var NS=(navigator.appName == "Netscape")?true:false;
var teclactrl=false;
function captura(e) {
var keycode = (NS)?e.which:event.keyCode;
var tecla=(NS)?78:85;
if ((teclactrl)&&(keycode==tecla)){
// alert('No puede abrir una nueva ventana');
return false;
}
teclactrl=(NS)?(keycode==17):(event.ctrlKey);
}
document.onkeydown = captura
if (NS){document.captureEvents(Event.KEYDOWN)};
document.onkeydown = function(){
if(window.event && window.event.keyCode == 116){
window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 122){
window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 78){
window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 85){
window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 505){
return false;
}
}
</script>
<title>Bienvenidos al Servicio de WebMail de www.punoinfo.com</title>
<link rel="SHORTCUT ICON" href="webmail.punoinfo.com/horde/imp/graphics/favicon.ico" type="image/x-icon" />
<link href="webmail.punoinfo.com/horde/css.php?app=imp" rel="stylesheet" type="text/css" />
</head>
<body onload="setFocus()">
<script language="JavaScript" type="text/javascript">
<!--
function setFocus()
{
document.implogin.imapuser.focus();
}
function submit_login()
{
if (document.implogin.imapuser.value == "") {
alert('Provea su nombre de usuario y contraseña');
document.implogin.imapuser.focus();
return false;
} else if (document.implogin.pass.value == "") {
alert('Provea su nombre de usuario y contraseña');
document.implogin.pass.focus();
return false;
} else {
return true;
}
}
//-->
</script>
<script language="JavaScript1.2" type="text/javascript">
<!--
function enter_key_trap(e)
{
var keyPressed;
if (document.layers) {
keyPressed = String.fromCharCode(e.which);
} else if (document.all) {
keyPressed = String.fromCharCode(window.event.keyCode);
} else if (document.getElementById) {
keyPressed = String.fromCharCode(e.keyCode);
}
if ((keyPressed == "\r" || keyPressed == "\n") && (submit_login())) {
document.implogin.submit();
}
}
//-->
</script>
<form action="http://webmail.punoinfo.com/horde/imp/redirect.php" method="post" name="implogin">
<input type="hidden" name="actionID" value="105" />
<input type="hidden" name="url" value="http://webmail.punoinfo.com/horde/login.php" />
<input type="hidden" name="mailbox" value="INBOX" />
<table align="center" border="0" width="300">
<tr>
<td align="center" colspan="2" class="header"> Bienvenidos al Servicio de
WebMail de<br> www.punoinfo.com</td>
</tr>
<tr>
<td align="right" class="light"><b>Usuario</b></td>
<td align="left"><input type="text" tabindex="1" name="imapuser" value="" /></td>
</tr>
<tr>
<td align="right" class="light"><b>Contraseña</b></td>
<td align="left"><input type="password" tabindex="2" name="pass" /></td>
</tr>
<tr>
<td>
<input type="hidden" name="server" value="localhost" />
<input type="hidden" name="port" value="143" />
<input type="hidden" name="namespace" value="" />
<input type="hidden" name="maildomain" value="punoinfo.com" />
<input type="hidden" name="protocol" value="imap/notls" />
<input type="hidden" name="realm" value="punoinfo.com" />
</td>
<td><input type="hidden" name="folders" value="INBOX." /></td>
</tr>
<tr>
<td align="right" class="light"><b>Idioma</b></td>
<td align="left" class="light"><select name="new_lang" onchange="selectLang()"><option value="ar_OM">Arabic (Oman) (العربية)</option><option value="ar_SY">Arabic (Syria) (العربية)</option><option value="bg_BG">Bulgarian (Български)</option><option value="ca_ES">Català</option><option value="zh_CN">Chinese (Simplified) (简体中文)</option><option value="zh_TW">Chinese (Traditional) (正體中文)</option><option value="cs_CZ">Czech (Česky)</option><option value="da_DK">Dansk</option><option value="de_DE">Deutsch</option><option value="en_GB">English (GB)</option><option value="en_US">English (US)</option><option value="es_ES" selected="selected">Español</option><option value="et_EE">Eesti</option><option value="fr_FR">Français</option><option value="el_GR">Greek (Ελληνικά)</option><option value="is_IS">Íslenska</option><option value="it_IT">Italiano</option><option value="ja_JP">Japanese (日本語)</option><option value="ko_KR">Korean (한국어)</option><option value="lv_LV">Latviešu</option><option value="lt_LT">Lietuvių</option><option value="mk_MK">Macedonian (Македонски)</option><option value="hu_HU">Magyar</option><option value="nl_NL">Nederlands</option><option value="nb_NO">Norsk bokmål</option><option value="nn_NO">Norsk nynorsk</option><option value="pl_PL">Polski</option><option value="pt_PT">Português</option><option value="pt_BR">Português Brasileiro</option><option value="ro_RO">Romani</option><option value="ru_RU">Russian (Русский) (Windows)</option><option value="ru_RU.KOI8-R">Russian (Русский) (KOI8-R)</option><option value="sk_SK">Slovak (Slovenčina)</option><option value="sl_SI">Slovenian (Slovenščina)</option><option value="fi_FI">Suomi</option><option value="sv_SE">Svenska</option><option value="th_TH">Thai (ไทย)</option><option value="uk_UA">Ukrainian (Українська)</option></select></td>
</tr>
<tr>
<td> </td>
<td align="left" class="light"><input type="submit" class="button" name="button" tabindex="4" value="Entrar" onclick="return submit_login();" /></td>
</tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">
<!--
function updatePort()
{
}
function selectLang()
{
// We need to reload the login page here, but only if the user hasn't
// already entered a username and password.
if (document.implogin.imapuser.value == '' &&
document.implogin.pass.value == '') {
var lang_page = 'login.php?new_lang=' + document.implogin.new_lang[document.implogin.new_lang.selectedIndex].value;
lang_page += '&url=http%3A%2F%2Fwebmail.punoinfo.com%2Fhorde%2Flogin.php';
self.location = lang_page;
}
}
//-->
</script>
<script language="JavaScript1.2" type="text/javascript">
<!--
// Setup the enter keytrap code
if (window.document.captureEvents != null) {
window.document.captureEvents(Event.KEYPRESS);
window.document.onkeypress = enter_key_trap;
}
//-->
</script>
<!-- This file contains any "Message Of The Day" Type information -->
<!-- It will be included below the log-in form on the login page. -->
<script language="JavaScript" type="text/javascript">
<!--
if (parent.frames.horde_main) parent.document.title = 'Correo :: Bienvenidos a Horde';
//-->
</script>
</body>
</html>
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |