|
本帖最后由 蓝天630902 于 2013-3-13 11:46 编辑
angelating11 发表于 2013-3-11 12:31
调用立即窗口得到 - Sub 登录163()
- Dim tt
- With CreateObject("WinHttp.WinHttpRequest.5.1")
-
- .Open "POST", "https://ssl.mail.163.com/entry/coremail/fcg/ntesdoor2?df=webmail163&from=web&funcid=loginone&iframe=1&language=-1&net=t&passtype=1&product=mail163&race=78_63_188_gz&style=-1&uid=litz@163.com", False
- .setRequestHeader "Referer", "http://mail.163.com/"
- .setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
- .send "savelogin=0&url2=http%3A%2F%2Fmail.163.com%2Ferrorpage%2Ferr_163.htm&username=litz&password=litg940"
-
- tt = Split(Split(.responsetext, "top.location.href = """)(1), """")(0)
-
- .Open "GET", tt, False
- .send
- tt = Split(Split(.responsetext, "audited':['""")(1), "'")(0)
- Cells(1, 1) = tt
- MsgBox tt
- End With
- End Sub
复制代码- Sub Goto163()
- On Error Resume Next
- With CreateObject("InternetExplorer.Application")
- .Visible = True
- .navigate "http://mail.163.com"
- Do Until .Readystate = 4
- DoEvents
- Loop
- .document.Forms(0).all("username").Value = "litz"
- .document.Forms(0).all("password").Value = "litg940"
- .document.getelementbyid("loginBtn").Click
- End With
- End Sub
复制代码
|
评分
-
1
查看全部评分
-
|