Login to csdn
http://blog.csdn.net/?ref=too...
I want to check the return value, but the result is empty.
So I used python to simulate logging in and found that it was a piece of 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>
Why can’t the browser see it?
/a/11...