Sunday, May 13, 2012

Web browser shakes


A funny tricks for shake the browser. But it is doesn't work for Google chrome and opera.

Tested  in internet explorer.

To shake your browser copy the following Java script and paste it into 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)
you can change the shaking rate by edit (i=40) you can give i= more like i=100 then it will shake more faster and if you gave less amount it will shake slower.

0 comments:

Post a Comment

Created By Sora Templates