Thursday, February 23, 2012

Shaking effect in browser

In the previous javascript, I have told you how to reveal the password hidden in the password field of the web page. Today I am going to give you a shaking eggect in the browser.

Here we go....
1. First of all, open a browser say firefox.
2. It must not be in maximized state. Its size should be less than your screen size.


3. Copy and paste the following javascript code in Address Bar of the browser.

 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)

4. Hit Enter.


See the magic.

Note: You must have javascript enabled in your browser to see this magic.
Enjoy hacking.....
Scroll to Top