April 7, 2010

Orkut Profile Shaking JavaScript

There are hundreds of JavaScript tricks for Orkut. However when I started researching on it, I found that most of the tricks available on internet do not work or they are malicious.
However, I did find some good scripts. Also, I developed some new scripts. I will be posting more about these scripts soon.
The first script in this series is the Profile Shaking JavaScript. It simply shakes your Orkut Profile like an earthquake inside your browser :)
To try this, open your orkut profile page in browser. Now copy the following JavaScript code,
javascript:function flood(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); } } }} flood(10);
Paste this code in the browser’s address bar and press Enter. Your profile will start shaking immediately.
Also, if you see the last line of the code, there’s a function call,
flood(10);
This statement determine the number of seconds that the effect should last. If you want it to continue for some more time, then change 10 to 60, and it will shake your profile for 1 minute (60 seconds).
Note that your browser should be JavaScript enabled for this effect to work.
Its really funny. Enjoy!

No comments: