PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Was bewirkt dieses Script?


Schiller
2007-04-05, 21:59:52
Ahoi,

ich habe eine Seite zugeschickt bekommen, wo folgende Seite als Script eingebunden wird: http://www.google.de/search?q=bs.yandex.ru/show/163&hl=de&start=20&sa=N

Und wie ich grad sehe ist das halbe Netz damit verseucht.

Was bewirkt das Script?

EDIT: wie ich sehe betrifft das nur russische Seiten.

Mfg

// <script language="javascript">
on=mw=null;
fl=ofl=0;
mc=me=0;
t=0;
b=0;
ch=bt=bn=0;
wn=wt=null;
sl=0;
t2=0;
function Is0EC2274C()
{
this.n=(document.layers)?true:false;
this.o=(navigator.userAgent.indexOf('Opera')!=-1)?true:false;
this.i=(document.all&&(!this.o))?true:false;
this.d=(document.getElementById)?true:false;
}
var is0EC2274C=new Is0EC2274C();
function Stor()
{
if(is0EC2274C.n&&(top.frames.length>0)){
return top.frames[0];
}
else{
if (document.location.search.substring(0,6)=="?Time=") return self;
return top;
}

}
var st=Stor();
if(isNaN(st.sl)) st.sl=1; else st.sl++;
function ge0EC2274C()
{
var cl;
if(is0EC2274C.n){
cl=document.layers[ge0EC2274C.arguments[0]];
for(var i=1;i<ge0EC2274C.arguments.length&&cl;i++) {
cl=cl.document.layers[ge0EC2274C.arguments[i]];
}
return cl;
} else if(is0EC2274C.i) {
cl=eval('document.all.'+ge0EC2274C.arguments[ge0EC2274C.arguments.length-1]);
return cl;
} else {
var n=ge0EC2274C.arguments[ge0EC2274C.arguments.length-1];
cl=document.getElementById(n);
if(cl) return cl;
cl=document.getElementsByName(n);
if(cl) return cl[0];
}
}
function sbv0EC2274C(v)
{
if(is0EC2274C.n) st.b.visibility=v;
else if(st.b.style) st.b.style.visibility=v;
}
function met0EC2274C(e,x,y)
{
if(is0EC2274C.n) e.moveTo(x,y);
else if(is0EC2274C.i) {
e.style.pixelLeft=x;
e.style.pixelTop=y;
} else {
e.style.left=x;
e.style.top=y;
}
}
function gbw0EC2274C(e)
{
if(is0EC2274C.n) return e.document.width;
else return e.offsetWidth;
}
function gbo0EC2274C(e)
{
var y;
if(is0EC2274C.n) return e.pageY;
else {
y = 0;
while (e.offsetParent != null) {
y += e.offsetTop;
e = e.offsetParent;
}
y += e.offsetTop;
return y;
}
}
function gww0EC2274C()
{
if(window.innerWidth) return window.innerWidth;
else return document.body.clientWidth;
}
function gwh0EC2274C()
{
if(window.innerHeight) return window.innerHeight;
else return document.body.clientWidth;
}
function rbu0EC2274C()
{
if(st.b==st.bn){
sbv0EC2274C('hidden');
st.b=st.bt;
sbv0EC2274C('visible');
}
clearTimeout(st.t);
}
function rbd0EC2274C()
{
if(st.b==st.bt){
sbv0EC2274C('hidden');
st.b=st.bn;
sbv0EC2274C('visible');
}
clearTimeout(st.t);
}
function clb0EC2274C()
{
clearTimeout(st.t);
sbv0EC2274C('hidden');
}
function gn0EC2274C(n,c) {
if (is0EC2274C.n) {
document.write('<layer id="'+n+'" left=0 top=0 visibility=hide z-index=999>')
} else {
document.write('<div style="position: absolute; left: 0; top: 0;'+(is0EC2274C.i?" width: 1;":"")+' visibility: hidden; z-index: 999;" id="'+n+'">');
}
document.write('<table cellpadding=1 cellspacing=0 border=0 width="108"><tr><td bgcolor=000000><table cellpadding=0 cellspacing=0 border=0 width=100%><tr bgcolor=ffffff><td height=1 nowrap><spacer type=block width=1 height=1></td></tr><tr><td><table cellpadding=0 cellspacing=0 border=0 width="100%"><tr bgcolor=cccccc><td width=1 nowrap bgcolor=ffffff><spacer type=block width=1 height=1></td><td width=18><a href="http://www.yandex.ru/" target=_blank><img src="http://bs.yandex.ru/resource/by.gif" title="Яндекс" alt="Яндекс" width=18 height=14 border=0 vspace=2 hspace=1></a></td><td width="98%"><a href="http://www.yandex.ru/advertising/index.html" target=_blank><img src="http://bs.yandex.ru/resource/bt.gif" title="Реклама на Яндексе" alt="Реклама на Яндексе" width=51 height=14 border=0 align=middle></a></td><td width=11><a href="http://narod.yandex.ru/help/mini.yhtml" target=_blank><img src="http://bs.yandex.ru/resource/bh.gif" title="Помощь" alt="Помощь" width=11 height=10 border=0></a></td><td width=11>');
if (n=='bn') {
document.write('<a href="#" onclick="rbu0EC2274C(); return false;"><img src="http://bs.yandex.ru/resource/bu.gif" title="Спрятать" alt="Спрятать" width=11 height=10 border=0></a>');
} else {
document.write('<a href="#" onclick="rbd0EC2274C(); return false;"><img src="http://bs.yandex.ru/resource/bd.gif" title="Показать" alt="Показать" width=11 height=10 border=0></a></td><td width=11><a href="#" onclick="clb0EC2274C();return false;"><img src="http://bs.yandex.ru/resource/bc.gif" title="Закрыть" alt="Закрыть" width=11 height=10 border=0></a>');
}
document.write('</td><td width=1 nowrap bgcolor=808080><spacer type=block width=1 height=1></td></tr></table></td></tr><tr><td><table cellpadding=0 cellspacing=0 border=0 width="100%"><tr bgcolor=cccccc><td width=3><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td><td width="100%" bgcolor=808080><spacer type=block width=1 height=1></td><td width=3><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td></tr><tr bgcolor=cccccc><td width=3 background="http://bs.yandex.ru/resource/bb.gif"><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td><td width="100%">'+c+'</td><td width=3 background="http://bs.yandex.ru/resource/bb.gif"><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td></tr><tr><td width=3 background="http://bs.yandex.ru/resource/bb.gif"><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td><td height=1 bgcolor=ffffff><spacer type=block width=1 height=1></td><td width=3 background="http://bs.yandex.ru/resource/bb.gif"><img src="http://bs.yandex.ru/resource/bb.gif" width=3 height=1></td></tr></table></td></tr><tr bgcolor=cccccc><td height=1 nowrap><table cellpadding=0 cellspacing=0 border=0 width=1 align=left><td height=1 nowrap bgcolor=ffffff><spacer type=block width=1 height=1></td></table><table cellpadding=0 cellspacing=0 border=0 width=1 align=right><td height=1 nowrap bgcolor=808080><spacer type=block width=1 height=1></td></table></td></tr><tr bgcolor=808080><td height=1 nowrap><spacer type=block width=1 height=1></td></tr></table></td></tr></table>');
if (is0EC2274C.n) document.writeln('</layer>');
else document.writeln('</div>');
}
function mvb0EC2274C()
{
var obn=0;
var obt=0;
if(bn==0) bn=ge0EC2274C('bn');
if(bt==0) bt=ge0EC2274C('bt');
if(ch==0) ch=ge0EC2274C('ch');
if(!wn) wn=gbw0EC2274C(bn);
if(!wt) wt=gbw0EC2274C(bt);
w=gww0EC2274C();
h=gwh0EC2274C();
o=gbo0EC2274C(ch);
obn=w-wn;
obt=w-wt;
if((!is0EC2274C.i) && h<o) {
obn -= 15;
obt -= 15;
}
met0EC2274C(bn,obn,0);
met0EC2274C(bt,obt,0);
}
function shb0EC2274C()
{
if((self!=st.mw)&&(top.frames.length>0)) return;
mvb0EC2274C();
st.bt = bt; st.b = st.bn = bn;
sbv0EC2274C('visible');
st.t=setTimeout('rbu0EC2274C()',30000);
if(on) {
sv=st;
on();
st=sv;
}
}
function isl0EC2274C()
{
if(st.sl==0) {
if(st.mw==self) {
if(st.b) sbv0EC2274C('hidden');
shb0EC2274C();
}
clearTimeout(t2);
} else {
ofl=st.fl;
t2=self.setTimeout('self.isl0EC2274C()',100);
}
}
function net0EC2274C(s) {
if(s>st.mc){
st.mc=s;
st.mw=self;
isl0EC2274C();
}
}
function rbf0EC2274C()
{
if (wc != window.innerWidth || hc != window.innerHeight) document.location.reload();
}
fn = frames.length;
if(fn>0){
e=document.getElementsByTagName('iframe');
if(is0EC2274C.d) fn-=e.length;
}
if(fn==0) {
if (is0EC2274C.n) {
document.write('<layer id="ch" left=0 visibility=hide><spacer type=block width=1 height=1></layer>');
}
else {
document.write('<div style="position: absolute; left: 0; visibility: hidden;" id="ch"><spacer type=block width=1 height=1></div>');
}
gn0EC2274C('bn', '<a href="http://bs.yandex.ru/count/3i8dJ4tjeRO30BlJKXL6QnIYTIWOoknW9Qh8WXN739r4PinWhf0XLK9_0m00" target=_blank title="Персональный поиск Яндекса. Версия 2.0"><img src="http://bs.yandex.ru/count/3i8dJ4a09i430BlJKXL6QnIYTIWOoknW9Qh8WXN739r4PinWhf4XLK5_0m00" alt="Персональный поиск Яндекса. Версия 2.0" width="100" height="100" border="0"></a>');
gn0EC2274C('bt', '<a href="http://bs.yandex.ru/count/3i8dJ4tjeRO30BlJKXL6QnIYTIWOoknW9Qh8WXN739r4PinWhf0XLK9_0m00" target=_blank><font size=-2 color="#000000">Персональный поиск Яндекса. Версия 2.0</font></a>');
if(is0EC2274C.n) {
wc=window.innerWidth;
hc=window.innerHeight;
window.onResize=rbf0EC2274C;
}
else if(is0EC2274C.i) {
window.onresize=mvb0EC2274C;
}
else {
addEventListener("resize",mvb0EC2274C,false);
}
if(is0EC2274C.i) {
if(st.fl==null) {
st.fl=0;
st.mw=null;
st.mc=0;
}
} else {
if(isNaN(st.fl)) {
st.fl=0;
st.mw=null;
st.mc=0;
}
}
if(top.frames.length>0) {
me=st.fl++;
x=gww0EC2274C();
y=gwh0EC2274C();
s=x*y;
if(x>120&&y>120&&s>st.mc) {
if(st.mc==0) setTimeout('self.net0EC2274C('+s+')',x/10);
else {
st.mc=s;
st.mw=self;
isl0EC2274C();
}
}
st.sl--;
}
else {
if(window.onload) on=window.onload;
window.onload=shb0EC2274C;
}
}
// </script>