Welcome to The Archive's Forums!
You have stumbled upon the best Gaming, Game Development, and Anime community ever, or at least we think so. We're pretty sure you will too after you see everything we have to offer. Look at our
list of current community projects, browse our
discussion forums, and when you're ready,
sign up! We're glad you're here, and hope you'll join our community!
View Full Version : I just found one of the most coolest things on 4chan.
neozf
10-08-2006, 01:51 PM
Put this into an address bar on a site that has images then press enter
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++}setInterv al('A()',5); void(0);
Amnistar
10-08-2006, 02:13 PM
I tried...it didn't seem to do anything. What is it isupposed to do?
Walrii
10-08-2006, 02:36 PM
Yeah, nothing for me either. I tried firefox and IE...
Also, a warning to... everyone, 4chan can be quite inappropriate. To put it lightly. :)
Also, I'm addicted to visiting that place.
Pythagora
10-08-2006, 02:53 PM
B0rked.
Again, it didn't work. What is it supposed to do?
neozf
10-08-2006, 03:07 PM
Some sites it doesn't work, but on like the homepage for editingarchive it worked, it makes all the images on that page spin in a nice pattern near the top of the page.
ElyCyan
10-08-2006, 05:45 PM
Interesting, but I would watch what you post from 4chan...
Awesome! :D
For some reason, when I first copied it, the copy put a strange space in one of the functions, thus making it do nothing. This code worked for me on the frontpage on both IE and Firefox:
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++}setInterv al('A()',5); void(0);
Shadowfox
10-08-2006, 07:00 PM
That is pretty cool :D, can't say one of coolest things but cool :D
Pythagora
10-08-2006, 07:52 PM
Oh wow! That is pretty awesome!
Walrii
10-08-2006, 09:03 PM
Sim's code got it working, thanks!
Cool find Neo / whoever originally made it on 4chan.
The best part is how it goes faster and faster each time you click it :p
Amnistar
10-09-2006, 09:28 AM
That is pretty neat. Thanks for cool thing neo!
Pythagora
10-09-2006, 05:45 PM
The best part is how it goes faster and faster each time you click it :p
Nice. I hadn't even tried that before. It gets crazy after you do it a bunch though...
The best part is how it goes faster and faster each time you click it :p
Cool; I had not even thought about doing that :D
Always happy to exploit code >=D
Amnistar
10-11-2006, 04:21 PM
Does it have any kind of practical use?
neozf
10-11-2006, 04:24 PM
Um, yea it can intertain children for at least 5 mins.
ElyCyan
10-11-2006, 05:58 PM
Does it have any kind of practical use?
Um, yea it can intertain children for at least 5 mins.
Neo wins the thread...
10'd.
Does it have any kind of practical use?
If I set it to default on all page loads, it would probably eliminate 99% of traffic to our webserver. :P
ElyCyan
10-12-2006, 08:54 AM
If I set it to default on all page loads, it would probably eliminate 99% of traffic to our webserver. :P
Woo! Eliminating clogging in my series of tubes!
Pythagora
10-12-2006, 08:18 PM
Drive through bank tubes FTW.
Drive through bank tubes FTW.
Agreed... long ping times though. :(
vBulletin® v3.8.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.