从网上收集的三个常用邮箱快速登录代码。
摘自:www.taolang/surain/post/97.html
一、利用hao123提供的登录脚本。 查看演示(如出现乱码请选择浏览器编码为简体中文)
演示地址:www.taolang/surain/upload/mail2.html
<script language="javascript">
function chkinput(f){var tmp=f.name.value;if(!tmp){alert("请填写您要查询的内容!");return false;}var tmp2=f.tiaojian.value;if(!tmp2){alert("请选择您要查询的条件!");return false;}return true;}function chkinput2(f){var tmp=f.user.value;if(!tmp){alert("帐号不能为空!");return false;}var tmp2=f.pass.value;if(!tmp2){alert("密码不能为空!");return false;}var tmp3=f.site.value;if(!tmp3){alert("您没有选择信箱!");return false;}return true;}function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features);}
</script><script language="javascript">
<!--
function clearpass(){document.loginmail.pass.value="";}//--></script>
<div align=center><center><table height=1 cellSpacing=0 cellPadding=0 width=600 border=0 valign=top
bgcolor=#F0F7FF><tr><form name=loginmail onsubmit="return chkinput2(this);" action=www.hao123/sendmail.php method=post>
<td align=center width=600 background height=1><font color=#CC6600>邮箱快速登陆→</font>帐号:
<input style=FONT-SIZE:12px tabIndex=1 size=10 name=user>信箱:<select
tabIndex=2 size=1 name=site><option value selected>请选择信箱</option><option value=21cn>@21cn</option><option value=163>@163</option><option value=tom>@tom</option>
<option value="163">@163</option>
<option value=vip.163>@vip.163</option><option value=sohu>@sohu</option>
<option value=263>@263</option><option value=sina>@sina</option><option value=vip.sina>@vip.sina</option><option value=mail.china>@mail.china</option><option value=china>@china</option><option value=netease>@netease</option><option value=yeah>@yeah</option><option value=etang>@etang</option><option value=126>@126</option>
<option value="cn.yahoo">@yahoo</option>
<option value="xinhuanet">@xinhuanet</option>
<option value=eyou>@eyou</option><option value=email>@email</option><option value=ynmail>@ynmail</option><option value=citiz>@citiz</option>
<option value="hotmail">@hotmail</option>
<option value="56">@56</option>
<option value="gmail">@gmail</option>
</select>密码:<input style=FONT-SIZE:12px tabIndex=3 type=password size=10
name=pass> <input style=FONT-SIZE:12px tabIndex=4 type=submit value=登录
name=Submit2 onclick=setTimeout('clearpass()',1000)> </td>
</form></tr></table></center></div>
二、直接提交到各邮箱登录入口。查看演示(如出现乱码请选择浏览器编码为简体中文)
演示地址:www.taolang/sura
in/upload/mail1.html
<SCRIPT LANGUAGE="JavaScript">
<!--
function log_submit(){
var User = document.mailForm.mail_name.value;
var ProNo = document.mailForm.mailSelect.value;
var mail_action = ProNo.split(";");
if(mail_action.length > 1)
{
if(mail_action[1]=="suffix")
User += "@"+mail_action[2];
else
eval("document.mailForm."+mail_action[1]+".value = '"+mail_action[2]+"';");
}
var Passwd = document.mailForm.mail_password.value;
var Formobj = document.mailForm;
function checkUserPass(){
if (User == ""){
alert("请填写用户名");
document.mailForm.mail_name.focus();
return false;
}
else if (Passwd == ""){
alert("请填写密码");
document.mailForm.mail_password.focus();
return false;
}
else {
return true;
}
}
尚格 云顿
if (checkUserPass()){
document.mailForm.action = mail_action[0];
document.mailForm.u.value = User;
document.mailForm.user.value = User;
document.mailForm.LoginName.value = User;
document.mailForm.username.value = User;
document.mailForm.UserName.value = User;
document.mailForm.login_name.value = User;
document.mailForm.login.value = User;
document.mailForm.psw.value = Passwd;
document.mailForm.pass.value = Passwd;
document.mailForm.passwd.value = Passwd;
document.mailForm.password.value = Passwd;
document.mailForm.Password.value = Passwd;
document.mailForm.login_password.value = Passwd;
document.mailForm.submit();
document.mailForm.mail_password.value = "";
}
return false;
}
//-->
</SCRIPT>
<table cellspacing="0" align="left" >
<tr ><td align="left">常用邮箱快速登录</td><td align="right"></td></tr>
<tr height=22><form method="post" target="_blank" name="mailForm" onsubmit='return log_submit();'>
<input type="hidden" name="u" value="">
<input type="hidden" name="user" value="">
<input type="hidden" name="LoginName" value="">
<input type="hidden" name="username" value="">
<input type="hidden" name="UserName" value="">
<input type="hidden" name="login_name" value="">
<input type="hidden" name="login" value="">
<input type="hidden" name="psw" value="">
<input type="hidden" name="language" value="">
<input type="hidden" name="pass" value="">
<input type="hidden" name="passwd" value="">
<input type="hidden" name="password" value="">山下智久 anan
<input type="hidden" name="Password" value="">
<input type="hidden" name="login_password" value="">
<input type="hidden" name="url" value="">
<input type="hidden" name="BackURL" value="">
<td colspan="2"><select name="mailSelect"  size="1">小满节气的含义是什么
<option selected>选择您的邮局</option>
<option  value="mail.sina/i">@sina</option>
<option  value="reg.163/in.jsp?url=fm163.163/coremail/fcg/ntesdoor2?username=wd.dm.mailForm.name.value">@163</opti
on>
<option  value="login.mail.sohu/chkpwd.php">@sohu</option>
<option  value="login.chinaren/zhs/servlet/Login;url;http:/mail.chinaren">@ChinaRen</option>
<option  value="bjweb.163/cgi/163/i">@163</option>
<option  value="/cgi/163/i">@Tom</option>
<option  value="webmail.21cn/NULL/NULL/NULL/NULL/">@21cn</option>
<option  value="edit.bjs.yahoo/config/login">@yahoo</option>
<option  value="entry.126/cgi/login">@126</option>
<option  value="g2wm.263/xmweb">@263</option>
<option  value="u/cgi-bin/login">@eyou</option>
<option  value="vip.sina/i">@vip.sina</option>
<option  value="vip.163/payment/VipLogon.jsp">@vip.163</option>
<option  value="paymail.china/extend/gb/NULL/NULL/">@China</option>
<option  value="mw1.elong/i">@elong</option>
<option  value="ang/servlet/login;BackURL;http:/ang/cgi/door">@etang.
com</option>
<option  value="www.citiz/login.jsp">@citiz</option>
<option  value="202.106.186.230/extend/newgb1/NULL/NULL/">@email</option>
</select>
<input type="submit" value="登录" >
</td></tr>
<tr><td  height=22 colspan=2>用 户 名:<input name="mail_name" onfocus="this.select" size=12></td></tr>
<tr><td colspan=2>登录密码:<input name="mail_password" onfocus="this.select" type="password" size=12></td></tr>
</form>
</table>
三、也是直接提交到各邮箱登录入口,但是代码比较复杂一些。查看演示(如出现乱码请选择浏览器编码为简体中文)
演示地址:www.taolang/surain/upload/mail3.html
<script language="JavaScript">
var tbwidth=755 //表格宽度
var bcolor="#3399FF" //背景颜,可自定义
var fcolor="#ffffff" //字体颜,可自定义
</script>
<script language="JavaScript">function check(input){ 
if(input.mailSelect.options.selectedIndex==0){ 
alert("提示:请正确选择您使用的邮箱!"); 
return false;} 
if(input.name.value==""){ 
alert("提示:邮箱用户名必须填写!"); 
input.name.focus(); 
return false;} 
if(input.password.value=="" || input.password.value.length<3){ 
alert("提示:邮箱密码必须填写完整!"); 
input.password.focus(); 
return false;} 
else{go(); 
return false;}}
function makeURL(){ 
var objForm=document.mailForm; 
安慰短信大全
var intIndex=objForm.mailSelect.options.selectedIndex; 
var varInfo=objForm.mailSelect.options[intIndex].value; 
var arrayInfo=varInfo.split(';');     
var strName=objForm.name.value,varPasswd=objForm.password.value; 
var length=arrayInfo.length,strProvider=arrayInfo[0],strIdName=arrayInfo[1],varPassName=arrayInfo[2];
if(length==3){ 
var strUrl=strProvider+'?'+strIdName+'='+strName+'&'+varPassName+'='+varPasswd; 
}
else{
if(arrayInfo[3]=='suffix') strName+='@'+arrayInfo[4]
var strUrl='<form name="tmpForm" action="'+strProvider+'" method="post"><input type="hidden" name="'+strIdName+'" value="'+strName+'"><input type="hidden" name="'+varPassName+'" value="'+varPasswd+'">'; 
if(arrayInfo[3]=='hidden') strUrl+='<input type="hidden" name="'+arrayInfo[4]+'" value="'+arrayInfo[5]+'">'
strUrl+='</form>';  一亩是多少平方米
}
return strUrl; 
}
function go(){ 
var strLocation=makeURL(); 
if(strLocation.indexOf('<form name="tmpForm"')!=-1){
outWin=window.open('','','scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes'); 
关于爱国的演讲稿doc=outWin.document; 
doc.open('text/html'); 
doc.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>邮箱登录</title></head><body onload="pForm.submit()">'); 
doc.write('<p align="center" >电子邮局快速登录系统,请稍候......</p>'+strLocation+'< /body></html>'); 
doc.close(); 
}
else window.open(strLocation,'','menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,,scrollbars=yes'); 
}
function News_Window(theURL,winName,features) {
window.open(theURL,winName,features);
}
</script>
<script language="JavaScript">
document.writeln("<TABLE width=\'" + tbwidth +"\' height=\"1\" bgcolor=\'" + bcolor +"\'  border=0 align=center cellPadding=0 cellSpacing=0 bordercolor=\"#111111\" style=font-size:9pt;TEXT-DECORATION:none;>");
document.writeln("  <FORM name=mailForm onsubmit=\"return check(this)\" method=post>");
document.writeln("    <TBODY>");
document.writeln("  <TR> ");
document.writeln(" <TD width=\"78%\" height=26 align=left><div align=\"center\"><STRONG>【邮箱快速登陆入口】→<\/STRONG> <font color=\'" + fcolor +"\'  style=font-size:9pt;>您的用户名:<\/font> ");
document.writeln("  <input ");
document.writeln("  style=\"BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid\" ");
document.writeln("      onFocus=\"this.value=\'\';\" size=16 value=您的用户名 name=name>");
document.writeln("            <select tabindex=2 size=1 name=mailSelect>");
document.writeln("              <option selected>请选择您的邮局<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/mail.sina\/cgi-bin\/i;u;psw>@sina<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/vip.sina\/cgi-bin\/i;user;pass>@vip.sina<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/bjweb.163\/cgi\/163\/i;user;pass>@163<\/option>");
document.writeln("              <option ");
document.writeln("        value=http
:\/\/bjweb.163\/cgi\/163\/i;user;pass>@Tom<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/webmail.21cn\/NULL\/NULL\/NULL\/NULL\/NULL\/;LoginName;passwd;post>@21cn<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/webmail.21cn\/nature\/gb\/NULL\/NULL\/NULL\/;LoginName;passwd;hidden;DomainName;21cn>@21cn<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/g2wm.263\/xmweb;user;pass>@263<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/entry.126\/cgi\/login;user;pass;post>@126</OPTION> ");
document.writeln("              <option ");
document.writeln("        value=http:\/\/reg4.163\/in.jsp?url=http:\/\/reg4.163\/EnterEmail.jsp?username=window.document.mailForm.name.value;username;password;post>@163<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/vip.163\/payment\/VipLogon.jsp;username;password;post>@vip.163<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/webease\/cgi\/login;user;pass;post>@netease<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/ah\/cgi\/login;user;pass;post>@Yeah<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/freemail.china\/extend\/gb\/NULL\/NULL\/NULL\/;LoginName;passwd;post>@mail.china<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/paymail.china\/extend\/gb\/NULL\/NULL\/NULL\/;LoginName;passwd;post>@china<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/login.mail.sohu\/chkpwd.php;UserName;Password;post>@sohu<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/www.citiz\/login.jsp.jsp;username;password;post>@citiz<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/login.chinaren\/zhs\/servlet\/Login;username;password;post;hidden;url;http:\/\/mail.chinaren>@ChinaRen<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/mw1.elong\/cgi-bin\/i;username;password;post>@elong<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/ang\/servlet\/login;login_name;login_password;post;hidden;BackURL;http:\/\/ang\/cgi\/door>@etang<\/option>");
document.writeln("              <option ");
document.writeln("        value=http:\/\/mail.fm365\/cgi-bin\/legend\/wmaila;username;password;post>@F