标签:
auth_token
从cookies里取出supertoken=2881515311;
function auth_token(str) { var hash = 0; for (var i = 0, length = str.length; i < length; i++) { hash = hash * 33 + str.charCodeAt(i) } return hash % 4294967296 }
标签:
原文地址:http://www.cnblogs.com/milest/p/5128519.html