Monday, 16 December 2013

Some cOoL Tricks.........

Just copy this script and paste it into your browser...........enjoy :-)

1.Reverse your Text

javascript:function flood(n){if (self.moveBy){for (i = 50; i >0;i=i-2){for (j = n; j > 0; j=j-2){self.moveBy( 1,i );self. moveBy(i,0);self.moveBy( 0,-i);self. moveBy(-i, 0);}}}}flood;{var inp = " moc.topsgolb.teejrekcaha \n EM HTIW GNIHTYREVE KCAH ";var outp = "";for(i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp;}alert(outp);};reverse

2.Edit any Web Page

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Note: This script will not change the original web page ofcourse but you can edit any page, do some crazy stuffs and save it :P

3. Picture Swerve
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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

4. Text,Image and Link Swerve

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.getElementsByTagName("a"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

5. JS Calculator

javascript:alert(346782*28364278+23847832);

Use javascript as a calculator if u get bored of your calci or windows calculator, put any arithmetic expression in alert box and get the result.

No comments:

Post a Comment