shaking browser -----Funny Code

Light Poster
6Sep2007,23:51   #1
sunsaan's Avatar
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 :-)
Team Leader
7Sep2007,06:00   #2
jwshepherd's Avatar
not in IE7 on other than the first tab.
Go4Expert Founder
7Sep2007,08:27   #3
shabbir's Avatar
By no means its Ethical hacking and I have moved the thread into the JS forum.
Go4Expert Member
28Oct2007,07:39   #4
Rexy93's Avatar
That is pretty cool. How did you do that?
Skilled contributor
3Nov2007,08:32   #5
Izaan's Avatar
Nice one.
Ambitious contributor
5Nov2007,22:43   #6
Nadr's Avatar
good going. Keep them coming.
Ambitious contributor
11Nov2007,13:16   #7
Safari's Avatar
It does not shake the Safari browser when its maximized but otherwise its a good one.
Ambitious contributor
12Nov2007,11:46   #8
Obaid's Avatar
Good one.
Newbie Member
19Nov2007,02:47   #9
xalia's Avatar
nice!
how can/may I use it inside a php page?