shaking browser -----Funny Code

sunsaan's Avatar, Join Date: Sep 2007
Light Poster
1: Copy and paste the java script code to the address bar of your browser
Quote:
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)
2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)
jwshepherd's Avatar, Join Date: Aug 2007
Team Leader
not in IE7 on other than the first tab.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
By no means its Ethical hacking and I have moved the thread into the JS forum.
Rexy93's Avatar, Join Date: Oct 2007
Go4Expert Member
That is pretty cool. How did you do that?
Izaan's Avatar, Join Date: Oct 2007
Skilled contributor
Nice one.
Nadr's Avatar, Join Date: Oct 2007
Ambitious contributor
good going. Keep them coming.
Safari's Avatar, Join Date: Oct 2007
Ambitious contributor
It does not shake the Safari browser when its maximized but otherwise its a good one.
coderzone's Avatar, Join Date: Jul 2004
Team Leader
Good one.
xalia's Avatar, Join Date: Nov 2007
Newbie Member
nice!
how can/may I use it inside a php page?