仿hao123多郵箱登陸代碼免費提供,獨立可擴展的郵箱登錄代碼,。
網(wǎng)上很多這樣的郵箱登錄代碼,,但是不是調(diào)用別人站的JS就是不獨立,需要中轉(zhuǎn)別人站才能登錄,,這樣很不安全,,因為咱們味多美網(wǎng)址導航源碼程序的部分客戶說需要這樣的郵箱登錄代碼,,我們特別發(fā)一款不錯的郵箱代碼,,以前的味多美網(wǎng)址導航源碼程序也有郵箱登錄這個功能,,但是由于確實沒什么用,而且占地方,,我們就刪除了,,現(xiàn)在既然有部分客戶想要,我們就發(fā)一款吧,。
你想擁有像Hao123網(wǎng)址之家里面的多郵箱快速登陸嗎,?你只需要這段代碼即可。注意:把黃色底色的部分放到<head></head>之間,。青色底色的部分放到你需要顯示的地方,。 <HTML><HEAD> <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("請?zhí)顚懩泥]箱用戶名"); document.mailForm.mail_name.focus(); return false; } else if (Passwd == ""){ alert("請?zhí)顚懩泥]箱請?zhí)顚懨艽a"); 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> </head> <BODY> <TABLE style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" cellSpacing=0 align=left> <FORM name=mailForm onsubmit="return log_submit();" method=post target=_blank><INPUT type=hidden name=u><INPUT type=hidden name=user><INPUT type=hidden name=LoginName><INPUT type=hidden name=username><INPUT type=hidden name=UserName><INPUT type=hidden name=login_name><INPUT type=hidden name=login><INPUT type=hidden name=psw><INPUT type=hidden name=language><INPUT type=hidden name=pass><INPUT type=hidden name=passwd><INPUT type=hidden name=password><INPUT type=hidden name=Password><INPUT type=hidden name=login_password><INPUT type=hidden name=url><INPUT type=hidden name=BackURL> <TBODY> <TR> <TD>賬號:<INPUT style="FONT-SIZE: 12px; FONT-FAMILY: arial" onfocus=this.select size=10 name=mail_name> @ <SELECT name=mailSelect> <OPTION selected>選擇您的郵局</OPTION> <OPTION value=http://entry.126.com/cgi/login > 126.com</OPTION> <OPTION value=http://reg.163.com/in.jsp?url=http://fm163.163.com/coremail/fcg/ntesdoor2? username=wd.dm.mailForm.name.value> 163.com</OPTION> <OPTION value=http://mail.sina.com.cn/cgi-bin/login.cgi> sina.com</OPTION> <OPTION value=https://edit.bjs.yahoo.com/config/login> yahoo.com.cn</OPTION> <OPTION value=http://login.mail.sohu.com/chkpwd.php> sohu.com</OPTION> <OPTION value=http://bjweb.mail.tom.com/cgi/163/login_pro.cgi> Tom.com</OPTION> <OPTION value=http://webmail.21cn.com/NULL/NULL/NULL/NULL/NULL/SignIn.gen> 21cn.com</OPTION> <OPTION value=http://go.56.com/mail/mail.56> 56.com</OPTION> <OPTION value=http://vip.163.com/payment/VipLogon.jsp> vip.163.com</OPTION> <OPTION value=http://reg.mail./servlet/coremail/login?> </OPTION> <OPTION value=http://vip.sina.com/cgi-bin/login.cgi> vip.sina.com</OPTION> <OPTION value=http://bjweb./cgi/163/login_pro.cgi> </OPTION> <OPTION value=http://g2wm.263.net/xmweb> 263.net</OPTION> <OPTION value=http://freemail./cgi-bin/login> </OPTION> <OPTION value=http://webmail./nature/gb/NULL/NULL/NULL/SignIn.gen;DomainName;> </OPTION> <OPTION value=http://entry.yeah.net/cgi/login> Yeah.net</OPTION> <OPTION value=http://web./cgi/login> </OPTION> <OPTION value=http://paymail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen> China.com</OPTION> <OPTION value=http://login./zhs/servlet/Login;url;http:/mail.> ChinaRen.com</OPTION> <OPTION value=http://login./servlet/login;BackURL;http:/mail./cgi/door> </OPTION> <OPTION value=http://www./login.jsp.jsp> </OPTION></SELECT> 密碼:<INPUT style="FONT-SIZE: 12px; FONT-FAMILY: arial" onfocus=this.select type=password size=10 name=mail_password> <INPUT style="BACKGROUND-COLOR:Transparent" type=submit value=登錄></TD> </TR></FORM></TBODY></TABLE> </BODY></HTML>
這個代碼是獨立的,不需要調(diào)用其它和郵箱沒關(guān)的站,,可以擴展和刪除部分郵箱,,很方便,而且靈活,,大家可以根據(jù)自己的需要自己修改長度和寬度,,以方便調(diào)用到你想放的位置。
|