. NET like hao123 shortcut mailbox Login Implementation Code _ Practical skills

Source: Internet
Author: User
Copy Code code as follows:

<%@ Page language= "C #" autoeventwireup= "true" codefile= "Default2.aspx.cs" inherits= "DEFAULT2"%>
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title> Untitled Page </title>
<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];
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 User name");
Document.mailForm.mail_name.focus ();
return false;
else if (Passwd = "") {
Alert ("Please fill in the 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> <form method= "post" target= "_blank" name= "mailform" onsubmit= ' return Log_submit (); ' >
<table cellspacing= "0" align= "left" style= "border:1px solid #c0c0c0; font-size:13px" >
&LT;TR style= "color: #ffffff; background: #336699;" &GT;&LT;TD align= "Left" > Quick login </td><td align= "right" ></td></tr>
<tr height=22>
<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=" ">
<input type= "hidden" name= "Login_password" "value=" ">
<input type= "hidden" name= "url" "value=" ">
<input type= "hidden" name= "Backurl" "value=" ">
&LT;TD colspan= "2" ><select name= "Mailselect" size= "1" >
<option selected> Select your post office </option>
<option value= "http://mail.sina.com.cn/cgi-bin/login.cgi" > @sina .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://login.mail.sohu.com/chkpwd.php" > @sohu .com</option>
<option value= "http://login.chinaren.com/zhs/servlet/Login;url;http:/mail.chinaren.com" > @ChinaRen .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://entry.126.com/cgi/login" >@126.com</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://vip.sina.com/cgi-bin/login.cgi" > @vip .sina.com</option>
<option value= "http://vip.163.com/payment/VipLogon.jsp" > @vip .163.com</option>
<option value= "Http://paymail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen" > @China .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" > @citiz .net</option>
<option value= "Http://" > @email. com.cn</option >
<input type= "Submit" value= "Login" style= "Background-color: #FFD700" >
&LT;TR&GT;&LT;TD height=22 colspan=2> Username: <input name= "Mail_name" onfocus= "This.select" size=12></td> </tr>
&LT;TR&GT;&LT;TD colspan=2> Login Password: <input name= "Mail_password" onfocus= "this.select" type= "password" size=12> </td></tr>

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.