Nov 13 2008
Browser shake
Wanna have some browser shake?
What you are gonna read is some totally useless and fun stuff. This is a simple to trick that shakes the browser window rapidly and could be used to wake yourself when you feel sleepy in a class to fool your friends!
Open the browser window (works with any browser - Internet Explorer, Firefox etc) and paste the following code in the address bar (the place where the web page address is typed.
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)
After pasting the above code hit “ENTER” and you will see the browser dancing. Observe the ‘i’ and ‘j’ values in the above code. Incrementing these values will shake your browser for more time. Note that the you cannot close or stop the shaking browser and thus using very high numbers for these variables may frustrate you rather than amusing you.
But if you want to tease some one, make the values as high as you please and start the shake!
Leave a Reply
You must be logged in to post a comment.
Not A Member? Register for Free!