Cool and funny java trick

Posted by

A funny tricks by which you can shake the browser. But in some browser like Google chrome , Opera it doesn’t work. Try it in internet explorer and just enjoy the shaking of your browser
To shake your browser just copy the following Java script and paste it to your browser address bar and press enter
javascript:function Shw(n) {if (self.moveBy) {for (i = 40; 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); } } }} Shw(6)
here you can change the shaking rate by editing (i=40) you can give i=100 then it will shake more faster or if you gave less amount it will shake slower. Hope you will enjoy it

One comment

  1. hey I liked your blog and writing style. I wish you to become an other of my website. do you want ? if yes. give your E-mail address then I will send you your E-mail and password to your email address. thanks

Leave a Reply