NameSilo

Amazing Javascript Trick

SpaceshipSpaceship
Watch

dgridley

Top Member
Impact
614
Check this out!

1. go to any website (try YouTube or Flickr)

2. delete everything in the address bar

3. paste the following code in the address bar:

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

4. press enter and have fun !

:hehe:
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
missing ; before statement
y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);

:(
 
0
•••
0
•••
The code he posted works..

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);
 
0
•••
I was playing with it on namepros index few days ago :lol:
 
0
•••
its not working for me
 
0
•••
It doesn't work for me either.
 
0
•••
0
•••
Looks cool on amazon.com homepage.

Doesn't appear to work with yahoo, though.

-Steve
 
0
•••
Not working for me right now for some reason, however i have been shown this before - recognize it by the code :D

Very tempting just to stick in on all your sites lol. For those who get it to work, pressing/hitting enter again will increase the effect from what i remember :D

Edit: Ah got it to work, this isn't quite the one i was shown but nearly the same affect. I'll try to find the other one :)
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Payment Flexibility
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back