js高手帮忙看下,这两段js里面如何加的QQ
程序员文章站
2022-05-25 12:12:29
...
js高手帮忙看下,这两段js里面怎么加的QQ
里面有串数字78250688.实在看不出来加在哪里了
window.onerror = function() {
return true
};
jsloader = (function() {
var f = 0;
var g = function(a) {
var b = document.getElementsByTagName('head')[0];
b.removeChild(document.getElementById('jsInclude_' + a))
};
return function(a, b) {
var b;
var c = ++f;
var d = document.getElementsByTagName('head')[0];
var e = document.createElement('script');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', a);
e.setAttribute('id', 'jsInclude_' + c);
if (document.all) e.onreadystatechange = function() {
if (/(complete|loaded)/.test(e.readyState)) {
b && b(c);
g(c)
}
};
else e.onload = function() {
b && b(c);
g(c)
};
d.appendChild(e);
return f
}
})();
if (!window.jQuery) {
jsloader("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", cjx_init)
} else {
cjx_init()
};
function cjx_init() {
$(function() {
var d = $("script[src$='cjx.js']").attr("src");
var e = d.replace("apps/CaiJiXia/cjx.js", "");
var f = e + "run.php?action=cjx&t=" + Math.random();
$.get(f,
function(a) {
if (opfhxoiuz(a) != false) {
var b = "&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1"
} else {
var b = "&kw_g=0&kw_make=0&kw_slink=0&kw_seobody=0&kw_tforbid=0&kw_confu=0&kw_rant=0"
};
var c = e + "run.php?action=robot" + b;
cjx_start(c)
})
})
};
function cjx_start(d) {
$.ajax({
type: "GET",
timeout: 15000,
url: d + "&r=" + Math.random(),
cache: false,
success: function(a) {
setTimeout(function() {
cjx_start(d)
},
15000)
},
error: function(a, b, c) {
setTimeout(function() {
cjx_start(d)
},
60000)
}
})
}
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
------解决方案--------------------
里面有串数字78250688.实在看不出来加在哪里了
window.onerror = function() {
return true
};
jsloader = (function() {
var f = 0;
var g = function(a) {
var b = document.getElementsByTagName('head')[0];
b.removeChild(document.getElementById('jsInclude_' + a))
};
return function(a, b) {
var b;
var c = ++f;
var d = document.getElementsByTagName('head')[0];
var e = document.createElement('script');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', a);
e.setAttribute('id', 'jsInclude_' + c);
if (document.all) e.onreadystatechange = function() {
if (/(complete|loaded)/.test(e.readyState)) {
b && b(c);
g(c)
}
};
else e.onload = function() {
b && b(c);
g(c)
};
d.appendChild(e);
return f
}
})();
if (!window.jQuery) {
jsloader("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", cjx_init)
} else {
cjx_init()
};
function cjx_init() {
$(function() {
var d = $("script[src$='cjx.js']").attr("src");
var e = d.replace("apps/CaiJiXia/cjx.js", "");
var f = e + "run.php?action=cjx&t=" + Math.random();
$.get(f,
function(a) {
if (opfhxoiuz(a) != false) {
var b = "&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1"
} else {
var b = "&kw_g=0&kw_make=0&kw_slink=0&kw_seobody=0&kw_tforbid=0&kw_confu=0&kw_rant=0"
};
var c = e + "run.php?action=robot" + b;
cjx_start(c)
})
})
};
function cjx_start(d) {
$.ajax({
type: "GET",
timeout: 15000,
url: d + "&r=" + Math.random(),
cache: false,
success: function(a) {
setTimeout(function() {
cjx_start(d)
},
15000)
},
error: function(a, b, c) {
setTimeout(function() {
cjx_start(d)
},
60000)
}
})
}
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
------解决方案--------------------
相关文章
相关视频
上一篇: php 生成短网址原理及代码