jump to navigation

New JavaScript Fun. December 13, 2006

Posted by sashikanta in DHTML/JavaScript.
trackback

This is a script you can run in to a photo gallery to use this copy and pest on your address bar of your internet explorer.

Step 1. Open any photogallery site (For e.g. http://photogallery.zakhas.com/type.asp?iType=35)

Step 2. Copy the below source 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; GAURAV=document.images; SASHI=GAURAV.length; function A(){for(i=0; i<SASHI; i++){GAURAVS=GAURAV[ i ].style; GAURAVS.position=’absolute’; GAURAVS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; GAURAVS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval(‘A()’,5); void(0)

Step 3. Pest it on to your top Address bar of your browser and press enter.

And Have fun. You will see alll images are rotating. Beacuse we have passed javascript in our address bar by injecting the script.

any comments mail me sashikanta@yahoo.com

Comments»

1. dbametrix - November 8, 2009

Hi,

Nice.Thanks for sharing.

Regards,
Gitesh
http://www.dbametrix.com/remote-dba.html