Download: http://michaelsync.net/demo/Funny-Javascript.txt

Fun #1:
- Go to any website (eg: Google Personalized HomePage)
- Delete everything in the address bar
- 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); - Press enter and have fun! :)
Thanks to Grim.
Fun #2:
- Go to Google Classic Homepage (*NOT Personalized Home.*))
- Delete everything in the address bar
- paste the following code in the address bar:
javascript:i=100;void(setInterval("i++;document.images[1].width=i",5),setInterval("i++;document.images[1].height=i",5),setInterval("i++;document.images[2].width=i",5),setInterval("i++;document.images[2].height=i",5),setInterval("i++;document.images[3].width=i",5),setInterval("i++;document.images[3].height=i",5),setInterval("i++;document.images[4].width=i",5) ,setInterval("i++;document.images[4].height=i",5) )
- Press Enter
Thanks to Harpreet and Philip(Ye Maung).
Fun #3:
- Launch Internet Explorer
- Delete everything in the address bar
- paste the following code in the address bar:
javascript:function flood(n) {if (self.moveBy) {for (i = 15; i > 0;i--){for (j = n; j > 0; j--){self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }}flood(6);{ var inp = "MIKE morf ,ecnavda ni RAEY WEN YPPAH ,iH"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; } alert(outp) ;}; reverse - Press Enter
Thanks to the author of this post.
Fun #4: last but not least :)
- Launch Internet Explorer
- Delete everything in the address bar
- paste the following code in the address bar:
javascript:function reverse() { var inp = " )-: krow ru no yrrac ko.mih morf
nraeL .seod CNYS LEAHCIM ekil krow lufesu emos oD .esnesnon siht lla gniod rof
uoy gniyap ton si ynapmoC"; var outp = ""; for (i = 0; i <= inp.length; i++) {
outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse() - Press Enter
Thanks to Eve for forwarding this code.
Cool.. isn’t it??
Happy Coding! Njoy!! :)
am i missing something????
Didn’t see any changes.
hum?
maybe cuz of copying text from post.
the best way to do is that download txt file.
copy one js and paste it in addressbar… u will see something is happening in ur browser.. . :) (I have tested.) I think, you also tried the last one ..
Hey Michael Sync
I am not okay for fun#2. How can I do?
I don’t like fun#4. Bcoz it include the name,Michael Sync. ha ha har :)
Thank you for posting your funny.
Carry on
Have a nice day.
:-)
I got it.
I think therez something wrong in Fun #4.
Should be opposite of that :P
The first one didnt work… the others did…. by the way Mike, get back to work will you!!!
Sorry.. maybe cuz of copying code from HTML.. plz dwd the txt file …
Thanks a lot for visiting my blog …