登入csdn
http://blog.csdn.net/?ref=too...
我想查看回傳值,結果卻是空。
於是我使用python 模擬登入了一下,發現是一段js
<script src="/content/loginbox/loginapi.js" ></script>
<script>
function redirect_back(){
var redirect = "http://my.csdn.net/my/mycsdn";
data.userName = data.userName;
data.encryptUserInfo = userInfo;
csdn.login_param.call = function (){
location.href = redirect;
}
var _data = {};
_data.status = true;
_data.data = data;
var oauth = "";
if(oauth == "true"){
csdn.login_back(_data);
}else{
csdn.login_data = data;
csdn.login_end();
};
}
</script>
<body onload="redirect_back();"></body>
為什麼瀏覽器看不到呢