Monday, October 25, 2010

Shaking Browser

Just type the below code in the address bar of your internet browser (like Mozilla) and see what happens.
 
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; 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)
 
Change the value of i (colored blue) for the longer shake... 1135 takes almost 45seconds
 
You can use it as a prank :) It's up to you how...
 
Enjoy!

No comments:

Post a Comment

Powered by : Blogger