Rachel's Blog
Rachel
Hello! Joined: Mar 2008
Location: Canton
Some pretty sweet code! It's like I'm tripping on acid!

All you have to do is go to any web page that has pictures, then copy and paste the code below into the address bar and hit enter. Then just enjoy! It's pretty sweet and a little trippy!

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5 ); void(0)

Posted by Rachel on Apr 23 2009 2:42PM

Filed under: Attachments:

Comments
Javascript is some pretty slick stuff. It lets you do all kinds of crazy things with browsers.

But it seems the script you provided is damaged, or the dangerous parts were filtered out by the app. I'll be it was the second option being that it more than likely contained script tags. you know GT script LSinsert code LS/scriptGT.

You can also use code like this for malicious XSS attacks on other sites. If I did my homework, it wont work on this site...maybe.
Posted by Tim on 4/23/2009 3:08:50 PM 
Link   Quote

Or rather the XSS stuff wont work. Pretty slick, jsut replace the entire URL.

Posted by Tim on 4/23/2009 3:14:55 PM 
Link   Quote
I tried it on your site and it did pretty much the screen shot above. On the galleries with tons of pics, it overloaded it and it wouldn't work. :) But it looks cool!
Posted by Rachel on 4/23/2009 3:30:02 PM 
Link   Quote
Javascript runs on the client side, your browser. So if you have a slow POS computer it really kicks it's ass.
Posted by Tim on 4/23/2009 3:32:19 PM 
Link   Quote
this doesnt do much for mine.. it just moves stuff out of alingment
Posted by Anonymous on 4/26/2009 12:43:13 PM 
Link   Quote

Anonymous comments are not allowed.
  The Image Store v.5.0.3.20