JavaScript-like hao123 multi-Mailbox Login effect _javascript Tips

Source: Internet
Author: User
<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> <script language=" JavaScript > <!--function log_submit () {var User = Document.mailfo Rm.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 ("Please fill in username"); Document.mailForm.mail_name.focus (); return false; else if (Passwd = = "") {alert ("Please fill in password"); 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> <style type= "Text/css" > <!--body {margin-left:0px; margin-top:0px; } #mailt {Position:absolute; top:148px; right:288px; }. tex{width:100px; height:20px; border:1px solid #003366; --> </style></pead> <body bgcolor= "#FFFFFF" > <div id= "mailt" > <table cellspacing= "0" Align= "left" ><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= "><input type=" hidden "name=" password "value=" "Gt;<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> Select your post office </option> <option value= "Http://cmail.sogou.com/control/login" > @daming2004. C om</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= "http://login.mail.sohu.com/chkpwd.php" > @sohu .com</option> <option value= "http:/ /bjweb.163.net/cgi/163/login_pro.cgi ">@163.net</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=" https:// Edit.bjs.yahoo.com/config/login "> @yahoo .com.cn</option> <option value=" Http://g2wm.263.net/xmweb " >@263.net</option> <option value= "Http://freemail.eyou.com/cgi-bin/login" > @eyou. com</option > <option value= "http://webmail.21cn.net/nature/gb/NULL/NULL/NULL/SignIn.gen;DomainName;21cn.net" >@ 21cn.net</option> <option value= "Http://entry.yeah.net/cgi/login" > @Yeah .net</option> <option Value= "http://vip.163.com/payment/VipLogon.jsp" > @vip .163.com</option> <option value= "http:// vip.sina.com/cgi-bin/login.cgi "> @vip .sina.com</option> <option value=" http://web.netease.com/cgi/ Login "> @netease .com</option> <option value=" http://paymail.china.com/extend/gb/NULL/NULL/NULL/ Signin.gen "> @China .com</option> <option value=" http://login.chinaren.com/zhs/servlet/Login;url;http :/maIl.chinaren.com "> @ChinaRen .com</option> <option value=" http://mw1.elong.com/cgi-bin/weblogon.cgi " > @elong .com</option> <option value= "Http://login.etang.com/servlet/login; Backurl;http:/mail.etang.com/cgi/door "> @etang .com</option> <option value=" http://www.citiz.net/ login.jsp.jsp "> @citiz .net</option> <option value=" http://202.106.186.230/extend/newgb1/NULL/NULL/ Null/signin.gen "> @email .com.cn</option> </select> <input type=" Submit "value=" Login "></td> <tr> <td height=22 colspan=2> username: <input name= "Mail_name" class= "Tex" onfocus= "This.select" size= 12></td></tr><tr> <td colspan=2> Password: <input name= "Mail_password" pass Word "class=" Tex "onfocus=" This.select "size=12></td></tr></form></table> </div> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.