Skip to content

Instantly share code, notes, and snippets.

@ynyyn
ynyyn / 坦白说皮一皮源代码((.js
Created April 3, 2018 05:17
QQ坦白说,登录态下,自动带 Token 跳转脚本
(function () {
function CSRFToken(str) {
var hash = 5381;
for (var i = 0, len = str.length; i < len; ++i)
hash += (hash << 5) + str.charAt(i).charCodeAt();
return hash & 2147483647
}
function getCookie(c, name) {