Fun With Javascripts

Here are some funny things that you can do in your browser.
Open a new browser window and browse any website if you want.
Now Click at the adress bar (where you type the adress : http://www/…..) now copy and paste these codes.

javascript:a=0;x=0;y=0;setInterval(“a+=.01;x=Math.cos(a*6)*7;
y=Math.sin(a*7)*5;moveBy(x,y)”,2);void(0)

The above code will make your browser windows move around your computer monitor.
Note: You must restore the browser first inorder to see visible effect.

javascript:a=0;x=0;y=0;setInterval(“a+=.01;x=Math.cos(a*3)*196;
y=Math.sin(a*4)*108;moveBy(x,y)”,2);void(0)


The above code will drive your browser crazy when restored to smaller size. This will make your browser window move haphazardly.
The above codes needs your browser to be minimized smaller size.

You can leave a response, or trackback from your own site.

Leave a Reply