<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript" type="text/javascript">
function clickMail()
{var gm=document.gomail//form name:
var vDomain=gm.domainss //
var vName=gm.uName
var vPw=gm.uPw
if(vDomain.value==""){alert("您没有选择邮箱!")
vDomain.focus()
return false}
if(vName.value==""){alert("用户名不能为空!")
vName.focus()
return false
}
if(vPw.value==""){alert("密码不能为空!")
vPw.focus()
return false}
switch(vDomain.value){
case "163":
gm.action="http://reg.163.com/CheckUser.jsp"
gm.url.value="http://fm163.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&style=15"
gm.username.value=vName.value
gm.password.value=vPw.value
gm.enterVip.value=''
break
}
vPw.value=""
return true}</script><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=password />
<input type=hidden value=true name=enterVip />
用户名:<input size=15 name=uName />
邮箱:<select size=1 name=domainss>
<option selected >请选择邮箱</option>
<option value=163>@163.com 网易</option>
</select>
密码:<input type=password size=12 name=uPw>
<input type=submit value=" 登录 " name=sub style="height:1.67em;width:5.0em;font-size:13px">
<input type=hidden value=submit name=cmd>
</form>
</body>
</html>作用我知道是登录163邮箱。具体这是怎么实现的。
还有这句代码有什么用?:gm.url.value="http://fm163.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&style=15"
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript" type="text/javascript">
function clickMail()
{var gm=document.gomail//form name:
var vDomain=gm.domainss //
var vName=gm.uName
var vPw=gm.uPw
if(vDomain.value==""){alert("您没有选择邮箱!")
vDomain.focus()
return false}
if(vName.value==""){alert("用户名不能为空!")
vName.focus()
return false
}
if(vPw.value==""){alert("密码不能为空!")
vPw.focus()
return false}
switch(vDomain.value){
case "163":
gm.action="http://reg.163.com/CheckUser.jsp"
gm.url.value="http://fm163.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&style=15"
gm.username.value=vName.value
gm.password.value=vPw.value
gm.enterVip.value=''
break
}
vPw.value=""
return true}</script><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=password />
<input type=hidden value=true name=enterVip />
用户名:<input size=15 name=uName />
邮箱:<select size=1 name=domainss>
<option selected >请选择邮箱</option>
<option value=163>@163.com 网易</option>
</select>
密码:<input type=password size=12 name=uPw>
<input type=submit value=" 登录 " name=sub style="height:1.67em;width:5.0em;font-size:13px">
<input type=hidden value=submit name=cmd>
</form>
</body>
</html>作用我知道是登录163邮箱。具体这是怎么实现的。
还有这句代码有什么用?:gm.url.value="http://fm163.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&style=15"
解决方案 »
- 百分询问一个关于window.opener.document.getElementById的问题
- 请教一个正则表达式,只能输入:大小写英文字母、数字及11个符号
- javascript如何判断输入的是否是汉字
- 急急急急非常急~~~帮帮忙啊
- 关于JS不能全部取消checkbox的问题
- ×××××××怎样内嵌别人网页里的一个<table></table>??××××××××
- 如何删除字符串中的空白,但保留行
- 一个框架页如何在退出时提示一下是否退出
- 请问如何屏蔽掉页面中所有的链接 在线等待... 急
- 如何取出一组单选按钮中哪一个被选中的索引值?我用document.formname.radioname.index不行
- 用js操作html dom的property
- ext如何实现复杂表头
gm.url.value="http://fm163.163.com/coremail/fcg/ntesdoor2?lightweight=1&verifycookie=1&style=15"
就是往 <input type=hidden name=url />填上这一串url值
url : <input type=hidden name=url />提交到http://reg.163.com/CheckUser.jsp处理 。
想问问,一般怎么分析一个登录页面,要post些什么信息,然后post到哪,然后可以登录呢?
就是说不用去他本来的登录页面,就可以登录
post的话看看input的name 。
你要实现什么 。
验证码那要看对方是怎么生成吧,反正我以前是下载过一个什么163mail自动注册工具,那时候它是把注册码显示出来让用户额外输入的。
本人菜鸟,“可以查看request http头部的那一页”指的是?。能截张图或者解释下吗?