帮朋友仿了个网站,但是有的页面点击空白就跳转到仿的目标站是怎么回事呢?
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(2(){8.5=2(){4{9(3.6.7(\'0\')==-1){3.a=\'b://c.0.d/\'}}f(e){}}})();',16,16,'huisuanzhang||function|location|try|onclick|origin|indexOf|document|if|href|https|www|com||catch'.split('|'),0,{}))
通过定位,在html里面有这样一串代码,也看不懂。但是知道是他起到 的作用。奇怪的是,有的页面删除这串代码后就不会点击空白跳转了。有的页面还是会这样,再次定位会定位到这串js代码
r.event = {
global: {},
add: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, n, o, p, q = W.get(a);
if (q) {
c.handler && (f = c,
c = f.handler,
e = f.selector),
e && r.find.matchesSelector(ra, e),
c.guid || (c.guid = r.guid++),
(i = q.events) || (i = q.events = {}),
(g = q.handle) || (g = q.handle = function(b) {
return "undefined" != typeof r && r.event.triggered !== b.type ? r.event.dispatch.apply(a, arguments) : void 0
}
),
b = (b || "").match(L) || [""],
j = b.length;
while (j--)
h = ua.exec(b[j]) || [],
n = p = h[1],
o = (h[2] || "").split(".").sort(),
n && (l = r.event.special[n] || {},
n = (e ? l.delegateType : l.bindType) || n,
l = r.event.special[n] || {},
k = r.extend({
type: n,
origType: p,
data: d,
handler: c,
guid: c.guid,
selector: e,
needsContext: e && r.expr.match.needsContext.test(e),
namespace: o.join(".")
}, f),
(m = i[n]) || (m = i[n] = [],
m.delegateCount = 0,
l.setup && l.setup.call(a, d, o, g) !== !1 || a.addEventListener && a.addEventListener(n, g)),
l.add && (l.add.call(a, k),
k.handler.guid || (k.handler.guid = c.guid)),
e ? m.splice(m.delegateCount++, 0, k) : m.push(k),
r.event.global[n] = !0)
}
},