日期:2014-05-18  浏览次数:20645 次

js登陆126邮箱
现在能够实现用js 登陆163邮箱,
 switch (mailaddress) {
  case "163":
  {
  var url = 'https://reg.163.com/logins.jsp?username=' + username + '@163.com&password=' + password + '&url=http://fm163.163.com/coremail/fcg/ntesdoor2'
  window.open(url, null, "");
  } break;
  case "126":
  {
  var url = ??;

  alert(url);
  window.open(url, null, "");
  } break;

下面的126,雅虎。搜狐邮箱都找不到语句了,请大侠们给指点一下。

------解决方案--------------------
C# code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>仿HAO123邮箱切换-www.codefans.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head> 
<body>
 
<FORM name=gomail onSubmit="return clickMail()" action="" method=post id=FrLgn><INPUT type=hidden name=url><INPUT type=hidden name=username><INPUT type=hidden name=type><INPUT type=hidden name=password><INPUT type=hidden name=domain><input name=.intl value=cn type=hidden><input value=ym name=.src type=hidden><INPUT type=hidden name=user><INPUT type=hidden name=pass><INPUT type=hidden value=true name=enterVip><INPUT type=hidden name=UserName><INPUT type=hidden name=Password><INPUT type=hidden name=u><INPUT type=hidden name=psw><INPUT type=hidden name=login><!--/--><INPUT type=hidden name=LoginName><INPUT type=hidden name=usr><INPUT type=hidden name=func><INPUT type=hidden name=login_name><INPUT type=hidden name=login_password><INPUT type=hidden name=BackURL><INPUT type=hidden value=http://mail.google.com/mail?ui=html&amp;zy=l name=continue><INPUT type=hidden name=Email><INPUT type=hidden name=domainname><INPUT type=hidden value=false name=firstlogin><INPUT type=hidden name=starttime><INPUT type=hidden name=p2><INPUT type=hidden name=passwd><INPUT type=hidden name=id><INPUT type=hidden name=m><INPUT type=hidden name=mpass><INPUT type=hidden name=loginid><INPUT type=hidden name=appid><INPUT type=hidden name=ru><INPUT type=hidden name=eru><INPUT type=hidden name=fl><INPUT type=hidden name=ct><INPUT type=hidden name=vr><INPUT type=hidden name=sg><INPUT type=hidden name=vwriter><INPUT type=hidden name=email><INPUT type=hidden name=passport_51_user><!--/--><INPUT type=hidden name=passport_51_password><INPUT type=hidden name=gourl><INPUT type=hidden name=Passwd><INPUT type=hidden name=vpassword>用户名:<input tabIndex=1 size=15 name=uName> 邮箱:<select tabIndex=2 size=1 name=domainss><option selected >请选择邮箱</option><option value=163>@163.com 网易</option><option value=126>@126.com 网易</option><option value=sina>@sina.com 新浪</option><option value=yahoo>@yahoo.com.cn</option><option value=yahoocn>@yahoo.cn</option><!--/--><option value=gmail>@gmail.com</option><option value=sohu>@sohu.com 搜狐</option><option value=tom>@tom.com</option><option value=188>@188.com</option><option value=21cn>@21cn.com</option><option value=yeah>@yeah.net</option><option>-请选择其他服务-</option><option value=baidu>百度账号</option><option value=