26 Aug 2008 @ 1:25 AM 
 

Coolest Trick Ever To Muck Up A Webpage

 

Ok so load a page with a bunch of images. Then go to the address bar and paste this in:

Buy a T-Shirt

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.getElementsByTagName("img");
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)+"px";
DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5);
void(0);

It won’t move all images, but a lot of them will start floating around. Works on a majority of sites (though not well on my main page due to how I position them.

The best place I found this to work was on my own myspace profile in firefox. It’s cooler in firefox since I have all of the images hidden underneath my background. So with this trick it brought all the pictures of friends and junk in my comments up and made it float.

Try it. Go to: http://myspace.com/trimidum then paste above code into address bar and hit enter.

Tags Categories: Neat Tricks Posted By: Jamez
Last Edit: 26 Jul 2009 @ 11 21 AM

EmailPermalink
  • Sean
    It didn't work for me.
  • Still works for me. I did it to this page. Works in Firefox and Internet Explorer for sure. Well don't know what all versions, but current versions for sure.
blog comments powered by Disqus
\/ More Options ...
Change Theme...
  • Users » 110
  • Posts/Pages » 61
  • Comments » 240
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight