A cool Google trick

posted by Mark posted on 11th March, 2008 at 09:42 pm

Almost a week since my last blog, I can’t remember going this long without blogging!

Anyway, I’m really struggling for time lately, so here’s a quick trick for you to try.

This worked for me in Firefox, and I haven’t tried in Internet Explorer (as IE both sucks and blows).

Go to Google Images, and search for anything you want. Then go to the address bar, and type in the following :

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)

Make sure you type in all that code. Then hit enter, and marvel at Google’s brilliance! Thanks to Stephen Lynam for showing me this.

Back to the study for me :(

Popularity: 36% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Posted in Computing


5 Responses to “A cool Google trick”

  1. abc Says:

    nothing happened.
    after i pasted this i just got 0.24 typed…

  2. Mark Says:

    Hey, are you sure you typed in the entire code?

  3. Hannah Says:

    Mark i just wasted a good few minutes of my life typing in that crap to get 0.24?

    what is meant to happen? and yes it was ALL pasted in.

  4. The Fleer Says:

    LOL. I got 0.24 as well. I was expecting to see millions of tiny avatars of ‘apples’ which is what I searched for.. or some apple with ‘Google’ engraved into it ;)

  5. Mark Says:

    Ah balls. When you get this done correctly, the images kind of take off the page and swirl around, it’s pretty cool.

Leave a Reply