跟小D每日学口语

网页邮箱登录代码

<body topmargin="0">
<div align="center"> <center> <div align="CENTER">

</div></center></div><div align="center">
<center> <div align="center"> <center> <table width="760" border="0">

<form name="loginmail" onsubmit="return WriteNewLogin(this);"

method="post">
<tr> <td> <p><strong><font color="#CC6600">邮箱帐

号:</font></strong> <input style="FONT-SIZE: 12px" tabindex="1"

size="14" name="user">
<select tabindex="2" size="1" name="site"> <option value="none"

selected>@在此选择你的邮箱</option>
<option value="163.com">@163.com</option> <option

value="vip.163.com">@vip.163.com</option>
<option value="sina.com">@sina.com</option> <option

value="vip.sina.com">@vip.sina.com</option>
<option value="sohu.com">@sohu.com</option> <option

value="tom.com">@tom.com</option>
<option value="163.net">@163.net</option> <option

value="263.net">@263.net</option>
<option value="21cn.com">@21cn.com</option> <!--<option

value="21cn.net">@21cn.net</option>-->
<option value="yahoo.com.cn">@yahoo.com.cn</option> <option

value="avl.com.cn">@avl.com.cn</option>
<option value="hotmail.com">@hotmail.com</option> <option

value="msn.com">@msn.com</option>
<option value="mail.china.com">@mail.china.com</option> <option

value="china.com">@china.com</option>
<option value="netease.com">@netease.com</option> <option

value="yeah.net">@yeah.net</option>
<option value="126.com">@126.com</option> <option

value="eyou.com">@eyou.com</option>
<option value="etang.com">@etang.com</option> <option

value="xinhuanet.com">@xinhuanet.com</option>
<option value="ynmail.com">@ynmail.com</option> <option

value="citiz.net">@citiz.net</option>
</select> 密码: <input style="FONT-SIZE: 12px" tabindex="3"

type="password" size="13" name="pass">
<input style="FONT-SIZE: 12px" tabindex="4" type="submit" value="登

录" name="Submit2">
</p></td></tr>
</form></table><table border="0" style="display:none"> <tr> <td

width="452" id="TmpmailForm"> </td></tr>
</table></center></div></center></div><div align="center"> </div><div

align="center">
<center> <table border="0" cellpadding="0" cellspacing="0" width="760"

height="14">
<tr> <td width="738" height="2"></td><td width="22"

height="2"></td></tr> <tr>
<td height="26" width="740"></td><td width="50"></td><td

valign="TOP">
</td></tr> </table></center></div><div align="center"> </div><div

align="center">
<center> <script>
function search4()
{
if(form1.abc0.checked)
window.open("
http://search.sina.com.cn/cgi-bin/search/search.cgi?

_searchkey="+form1.key.value,"mspg0");
if(form1.abc1.checked)
window.open("
http://site.search.sohu.com/sitesearch.jsp?

page_index=0&key_word="+form1.key.value,"mspg1");
if(form1.abc2.checked)
window.open("
http://cn.search.yahoo.com/search/cn?

p="+form1.key.value,"mspg2");
if(form1.abc3.checked)
window.open("
http://www.soft8.net/soft8.php?

word="+form1.key.value,"mspg3");
if(form1.abc4.checked)
window.open("
http://www.google.com/custom?hl=zh-CN&inlang=zh-

CN&ie=GB2312&oe=GB2312&client=pub-

0194889602661524&forid=1&cof=GALT%3A%23008000%3BGL%3A1%

3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%

3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%

3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%

3A0000FF%3BLH%3A50%3BLW%3A108%3BL%3Ahttp%3A%2F%

2Fgo.haokan123.com%2Fhaokan123logo.jpg%3BS%3Ahttp%3A%2F%

2Fgo.haokan123.com%3BFORID%3A1%3B&client=pub-

0194889602661524&forid=1&cof=GALT%3A%23008000%3BGL%3A1%

3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%

3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%

3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%

3A0000FF%3BLH%3A50%3BLW%3A108%3BL%3Ahttp%3A%2F%

2Fgo.haokan123.com%2Fhaokan123logo.jpg%3BS%3Ahttp%3A%2F%

2Fgo.haokan123.com%3BFORID%3A1%

3B&q="+form1.key.value,"mspg4");
if(form1.abc5.checked)
window.open("
http://search.yahoo.com/bin/search?

p="+form1.key.value,"mspg5");
if(form1.abc6.checked)
window.open("
http://www.baidu.com/baidu?

tn=haokan123&word="+form1.key.value,"mspg6");
if(form1.abc7.checked)
window.open("
http://mp3search.baidu.com/wstsearch?

tn=haokan123&ct=134217728&lm=-

1&rn=&word="+form1.key.value,"mspg7");
if(form1.abc8.checked)
window.open("
http://search.sogua.com/search/search.asp?

fmp3=1&frm=1&fwma=1&fasf=1&go.x=25&go.y=19&key="+form1.key.val

ue,"mspg8");
if(form1.abc9.checked)
window.open("
http://mp3search.baidu.com/wstsearch?

tn=haokan123&ct=150994944&lm=-

1&rn=&word="+form1.key.value,"mspg9");
if(form1.abc10.checked)
window.open("
http://pic.sina.com.cn/cgi-bin/retr/search?

query="+form1.key.value,"mspg10");
if(form1.abc11.checked)
window.open("
http://www.baidu.com/i?ct=201326592&cl=2&lm=-

1&tn=haokan123&word="+form1.key.value,"mspg11");
if(form1.abc12.checked)
window.open("
http://bingle.pku.edu.cn/scripts/ftp_search.exe?

cdtype=GB&word="+form1.key.value,"mspg12");
if(form1.abc13.checked)
window.open("
http://flash.zhongsou.com/zsflash.cgi?

myselectvalue=2&tn=flash&ct=33554432&lm=&word="+form1.key.value,"

mspg13");
if(form1.abc14.checked)
window.open("
http://search.union.3721.com/search_result.htm?

pid=S_haokan123_89327&fw=union&name="+form1.key.value,"mspg14"

);

return false;
}
</script> </center></div>
</body>

<script language="javascript">
var loginSite=""
var loginUser=""
var loginPass=""
var HTMLurl ="<html><head><meta http-equiv=Content-Type

content=text/html; charset=gb2312></head><body>"
var OtherInfo=""
function WriteNewLogin(the){
if (the.site.value=="none"){
alert("请先选择一个要登录的邮局!")
return false
}

switch(the.site.value){
case "163.com":
loginSite="
http://reg.163.com/in.jsp?

url=http://fm163.163.com/coremail/fcg/ntesdoor2?language%3D-1%

26style%3D-1"
loginUser="username"
loginPass="password"
break;
case "vip.163.com":
loginSite="
http://vip.163.com/payment/VipLogon.jsp"
loginUser="username"
loginPass="password"
break;
case "sina.com":
loginSite="
http://mail.sina.com.cn/cgi-bin/login.cgi"
loginUser="u"
loginPass="psw"
break;
case "vip.sina.com":
loginSite="
http://vip.sina.com.cn/cgi-bin/login.cgi"
loginUser="user"
loginPass="pass"
break;
case "sohu.com":
loginSite="
http://login.mail.sohu.com/chkpwd.php"
loginUser="UserName"
loginPass="Password"
break;
case "tom.com":
loginSite="
http://bjweb.mail.tom.com/cgi/163/login_pro.cgi"
loginUser="user"
loginPass="pass"
break;
case "163.net":
loginSite="
http://bjweb.163.net/cgi/163/login_pro.cgi"
loginUser="user"
loginPass="pass"
break;
case "263.net":
loginSite="
http://g2wm.263.net/xmweb"
loginUser="usr"
loginPass="pass"
OtherInfo="<input type=text value=login name=func>"
break;
case "avl.com.cn":
loginSite="
http://vip.avl.com.cn/mail/gznet_login.jsp"
loginUser="userid"
loginPass="passwd"
break;
case "21cn.com":
loginSite="
http://webmail.21cn.com/NULL/NULL/NULL/NULL/NULL/SignIn

.gen"
loginUser="LoginName"
loginPass="passwd"
break;
case "21cn.net":
loginSite="
http://webmail.21cn.net/extend/gb/NULL/NULL/NULL/SignIn.g

en"
loginUser="LoginName"
loginPass="passwd"
break;
case "avl.com.cn":
loginSite="
http://vip.avl.com.cn/mail/gznet_login.jsp"
loginUser="userid"
loginPass="passwd"
break;

case "yahoo.com.cn":
loginSite="
https://edit.bjs.yahoo.com/config/login"
loginUser="login"
loginPass="passwd"
break;
case "mail.china.com":
loginSite="
http://mail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen

"
loginUser="LoginName"
loginPass="passwd"
break;
case "netease.com":
loginSite="
http://web.netease.com/cgi/login?verifycookie=1&language=

-1&style=-1"
loginUser="user"
loginPass="pass"
break;
case "yeah.net":
loginSite="
http://entry.yeah.net/cgi/login?

verifycookie=1&language=1&style=0"
loginUser="user"
loginPass="pass"
break;
case "126.com":
loginSite="
http://entry.126.com/cgi/login"
loginUser="user"
loginPass="pass"
break;
case "eyou.com":
loginSite="
http://www.eyou.com/cgi-bin/login"
loginUser="LoginName"
loginPass="password"
break;
case "etang.com":
loginSite="
http://login.etang.com/servlet/login"
loginUser="login_name"
loginPass="login_password"
break;
case "xinhuanet.com":
loginSite="
http://mail.xinhuanet.com/extend/gb/NULL/NULL/NULL/SignIn.

gen"
loginUser="loginname"
loginPass="passwd"
break;
case "ynmail.com":
loginSite="
http://www.ynmail.com/App/fmail"
loginUser="username"
loginPass="password"
break;
case "citiz.net":
loginSite="
http://www.citiz.net/default/login_billing.jsp"
loginUser="emailname"
loginPass="password"
break;
case "hotmail.com":
the.user.value+="@hotmail.com"
//loginSite="
https://login.passport.com/ppsecure/post.srf?

lc=1033&id=6528&ru=http://my.msn.com/&tw=3600&kv=5&cb=SiteID%

3dmsft&cbid=6528&ts=-

13&da=passport.com&msppjph=1&ver=2.1.0191.1&tpf=72eb5e5bbf142d

1da7e7fac0972f512f"
loginSite="
https://login.passport.com/ppsecure/post.srf?

lc=2052&id=2&tw=20&fs=1&cbid=24325&da=passport.com&kpp=2&svc

=mail&msppjph=1"
loginUser="login"
loginPass="passwd"
break;
case "msn.com":
the.user.value+="@msn.com"
//loginSite="
https://login.passport.com/ppsecure/post.srf?

lc=1033&id=6528&ru=http://my.msn.com/&tw=3600&kv=5&cb=SiteID%

3dmsft&cbid=6528&ts=-

13&da=passport.com&msppjph=1&ver=2.1.0191.1&tpf=72eb5e5bbf142d

1da7e7fac0972f512f"
loginSite="
https://login.passport.com/ppsecure/post.srf?

lc=2052&id=2&tw=20&fs=1&cbid=24325&da=passport.com&kpp=2&svc

=mail&msppjph=1"
loginUser="login"
loginPass="passwd"
break;

default:
alert("无效的邮件服务器名称!")
return false
}

HTMLurl ="<form name=loginMail method=post action="+loginSite+"

target='_blank'>"
HTMLurl +="<input type=text name="+loginUser+"

value="+the.user.value+">"
HTMLurl +="<input type=password name="+loginPass+"

value="+the.pass.value+">"
HTMLurl +=OtherInfo
HTMLurl +="<input type=submit name=Submit value=提交>"
HTMLurl +="</form>"

document.getElementById("TmpmailForm").innerHTML=HTMLurl
document.loginMail.submit()
the.user.value=""
the.pass.value=""
return false
}
haokan=document.haokanlogin
function ClickForm(){
haokan.submit()
haokan.Username.value=""
haokan.passWord.value=""
}
function LoginHaokan(){
if (window.event.keyCode==13){
ClickForm()
}
}
</script>

posted @ 2006-12-17 21:45  Danny Chen  阅读(5075)  评论(0编辑  收藏  举报