Saturday, January 1, 2011

Shake Your Browser With this Java Code........!!!!!!!!!1

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!

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)   

or

javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*200;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)


No comments:

Post a Comment