Make Images, Pictures and Photos on Google (Also Safari and Chrome New Tab) Fly Crazy

To many people, web browser still remain as a dull, bored browser used to surf and browser the world wide web (WWW) despite many enhancements and features improvement. Well, here’s a simple trick to surprise your friends or making the visit to pages on Google sites (and probably some other websites as well) or when using Google Chrome interesting.

To make Google pages, and also the new tab page in Google Chrome web browser go crazy with images flying all over the place, follow these steps:

  1. Visit any of the Google home page (i.e. http://www.google.com) or open a new tab in Google Chrome.
  2. Copy and paste the following code into the address bar (location bar):

    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=400; y4=300; x5=400; y5=300;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);

  3. Press Enter.

Enjoy the fun flying show. Note that if you want to change the size or coverage of flying area, just modify the value for x4, x5, y4 and y5 accordingly. To stop the effect, just refresh the page.

Image Flies in Browser

The trick works on Mozilla Firefox, Safari and Google Chrome web browser, and should work on all web pages by Google. Some other websites may have the same effect too. And don’t worry, the code is not malicious and won’t harm the computer.


4 Responses to “Make Images, Pictures and Photos on Google (Also Safari and Chrome New Tab) Fly Crazy”

  1. Kolorowanki
    July 2nd, 2009 04:44
    4

    Doesn’t work…

  2. maniek
    October 9th, 2008 16:23
    3

    change -> ` to ‘

  3. UweS.
    October 9th, 2008 13:32
    2

    not working for me too

  4. cliff
    October 9th, 2008 05:08
    1

    not working for me

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article