Nov 9, 2010

Shake Your Browser with This Java Codes

This is a funny 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!
Use this trick at your own risk.
Here's how:
first open some page in Your Browser

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)