一个图片站,想加载一段js代码,就是让谷歌强制在前台显示的那段
) W4 R) `. G' z6 M/ x* ]0 [' X"
7 X G/ w0 f" P2 u$ L+ F0 ^8 I0 C' Q% j<script type="text/javascript"> U/ F) m% {$ I$ a/ k( w! }- B& u
<!--
7 T* o/ _- l% f3 l8 X, y, K5 F2 nvar SESSIONURL = "";
: f5 N: N. a ]7 _9 x! rvar vb_disable_ajax = parseInt("1", 10);
# d, h+ d ~! ~if (self != top && document.referrer.indexOf('http://images.google.') <= -1 && document.referrer.indexOf('/imgres?imgurl=') <= -1){top.location.href = document.location.href ;$ g7 G+ U+ I$ k9 W9 N, b3 M" s, j
}//--></script>; s- _- D' G# q9 k& L8 @+ H
9 P- _; B" `! C" G0 I& `: R; I9 o& Q* v1 P6 N6 e; S* P2 F
我这个代码没有问题吧?& v) W; o* i! C/ z! T$ i
|