How to make Google Crazy

I will show you how to make google.com make crazy. With a simple javascript code you’ll make the logo fly on the page. This works on many other sites though. It’s fun to try it on pages with lots of images, like google images search, flickr.com or even news.bbc.co.uk.
How does it work ?
You just go to the desired homepagee copy/paste the following code in the navigation bar of your browser and hit ‘Enter’. That’s all :)

Here’s a video to show the power of this javascript:


How To Make Google Go Crazy - video powered by Metacafe

The javascript code is:

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);

*update: you must replace the inverted commas from DIS.position=’absolute’; and setInterval(’A()’,5); with real apostrophes (Shift+quotation marks on Windows)

16 Responses to “How to make Google Crazy”

  1. Chasing Daisy » Blog Archive » Mixed bag #312 Says:

    [...] Fun: Remember this post on how to break the internet? Tudor Mateescu has made a video of the process. [...]

  2. Jann Says:

    The above code won’t work with copy/paste.

    You need to replace ’ with ‘

  3. Noobviser Says:

    you’re right, thanks for pointing out, I replaced the bogus code with the right one.
    it was because of the blockquote tag, now I used code

  4. Jann Says:

    Yeah, that’s it. I just realised my comment didn’t actually help much, either. But you knew what I meant… :)

  5. sam Says:

    wow dats kooooooooooooooooooool

  6. Noob Says:

    very cool, but y i wont works on some web pages like this web page?

  7. Noobviser Says:

    it works on this page, but the only images are the smiley faces :) just try it :D :)

  8. Noobviser Says:

    i forgot to say that they move like crazy in the upper part of the page, and not here on the bottom where the comments are

  9. lucky nugget casino Says:

    I can find many things that I look for here! Thank you very much!

  10. gento Says:

    That’s very cool use of Javascript.. thanks for the fun :)

  11. Noobviser Says:

    u welcome :)

  12. zakarya ashour Says:

    sry but i copy the javascript code and when i paste it nxt to google.com there is nothing can u help me please

  13. Tibi Says:

    you don’t paste it NEXT to google.com but instead of google.com, you overwrite the address

  14. The Man Says:

    It doesn’t work for me. when I plug it into Firefox it does nothing, IE says page error at the bottom. What am I doing wrong? I plug it in replacing whatever address so…

  15. Tibi Says:

    ok the code has some wrong apostrophes

    here’s the good one:

    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);

  16. a Says:

    i dont understand…i try..i try…it doesnt work…i`m mad :))
    why?????????????

Leave a Reply