Announcement

Collapse
No announcement yet.

cool internet trick

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cool internet trick

    copied from I am Bored.com. Makes all the images on a web page fly around.


    Try this crazy cool internet trick in your browser!

    Go to google images. Search whatever you want. Then copy/paste this code in your internet address bar:
    Code:
    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)
    Hit enter. Crazy, huh?

    Hit refresh over and over to make it go faster. It also works on the main google images page, as well as many other websites if you just look around!
    FT.

  • #2
    Indeed, very cool!

    Jörg
    pixar
    Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

    Comment


    • #3
      Didn't know that you can enter scripts via the address bar!
      Brian (the devil incarnate)

      Comment


      • #4
        Now you know why so many of the security weenies don't like Java...
        Hey, Donny! We got us a German who wants to die for his country... Oblige him. - Lt. Aldo Raine

        Comment


        • #5
          Its not java. its Javascript. Its 100% client side.
          Originally posted by Gurm
          .. some very fair skinned women just have a nasty brown crack no matter what...

          Comment


          • #6
            Yep, and running with the local user's credentials: if you're an admin this can be a bad thing, epecially if you don't know what look for in the Javascript.
            Hey, Donny! We got us a German who wants to die for his country... Oblige him. - Lt. Aldo Raine

            Comment


            • #7
              Every time you run java script you invite code to run on your machine.
              When you are running java script from localhost, or as file://... , then yeah javasript can access your file system.
              when running java script from the Internet zone, you are quite safe, as long as you have your security settings on an adequate level (same source, no fs access, no starting process etc... ).
              this is why "security weenies" on IT departments lock you usr's ability to change the security settings.

              btw, security weenies can party!
              Originally posted by Gurm
              .. some very fair skinned women just have a nasty brown crack no matter what...

              Comment

              Working...
              X