Hello friends, I have written a mini book on Cyber Security awareness for you, named "Hacking into Hackers' Head". This book uses common terms to explain things, and I'm sure you will get benefitted from it in your day to day life. It's available on Kindle and Google Play. Grab your copy now.

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.....

No comments:

Post a Comment

We appreciate your valuable comments.

Scroll to Top