27 February 2012

Browser Shaking

This is a fun little trick that can create a shaking screen on your web browser (i.e. Internet Explorer, etc..)

The trick is simply a small Java Script that causes your browser window to move to different positions, causing a shake of your entire screen. It's kind of cool to watch and see what Java Script can do! Try it out..

Use this trick at your own risk.

Here's how:
Copy this entire line and paste it onto
your address box, then press Enter:


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)


No comments:

Post a Comment