通过javascript直接进去邮箱,代码如下:<input type="button" name="btn" value="test" onclick="javascript:test();">
function test(){
window.location.href="http://reg.163.com/login.jsp?type=1&product=mail163&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight%3D1%26verifycookie%3D1%26language%3D-1%26style%3D-1&[email protected]&user=testjavascript&=163&password=javascript&=-1&=-1&=-1";
}在IE下能够直接进去,但在firefox下不行,当把上面同样的地址直接输入在firefox地址栏中转向后就能进去。
window.location="url" 和window.navigator(url)的方法也试了都不行
function test(){
window.location.href="http://reg.163.com/login.jsp?type=1&product=mail163&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight%3D1%26verifycookie%3D1%26language%3D-1%26style%3D-1&[email protected]&user=testjavascript&=163&password=javascript&=-1&=-1&=-1";
}在IE下能够直接进去,但在firefox下不行,当把上面同样的地址直接输入在firefox地址栏中转向后就能进去。
window.location="url" 和window.navigator(url)的方法也试了都不行
正确的是
window.location.href="http://reg.163.com/login.jsp?type=1&product=mail163&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight%3D1%26verifycookie%3D1%26language%3D-1%26style%3D-1&[email protected]&user=testjavascript&=163&password=javascript&=-1&=-1&=-1"ff3.5测试没问题