NameSilo

Amazing Javascript Trick

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

dgridley

Top Member
Impact
616
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
missing ; before statement
y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);

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

Doesn't appear to work with yahoo, though.

-Steve
 
0
Close
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
Close
Appraise.net

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back