Firefox Upgrade 3.5
On Sunday, I visited Mozillazine, after a very long time, and I was surprised to know that Firefox 3.5 has been released. While Ididn’t notice any change in my firefox. Looking at the features of Firefox 3.5, I checked my version of Firefox, its 3.0.5. Oh My God! Auto Upgrade Option has to be off, I thought. I went to Tools->Options->Advanced->Update to check the Auto Update option, to my surprise, it’s already on.
I was clueless on what went wrong. I tried running the help->upgrade option for the third time. Its all failure, the funnier part of the error is that the upgrade runs fine, and on completion on upgrade, it prompts for restarting Firefox as if the update is completed successfully, but after restarting Firefox, the browser starts again on 3.0.5.
Moreover, Firefox supports auto upgrade only in linear fashion, i.e., it progress from 3.0.5 to 3.0.11 to 3.5, so i have to reach 3.0.11, before go to 3.5.
As I have no solution for this mysterious error, I assumed that some extension might have corrupted the Firefox. So, as per my precognition, I went on to the next step of uninstalling firefox 3.0.5 and installed the freshly downloaded Firefox 3.5.
Before I could celebrate the success in the Firefox 3.5, installation of extensions keeps failing. On analysis with the help of Google, I find that there were registry entries one of Extension “PC2Synchronisation” has been corrupt in my Firefox which causes the Firefox to fail in all extension upgrade. So I manually deleted this extension in Windows Registry (Regedit32)
Voila! My Celebration has begin with Firefox 3.5. Now, its Fast-Forward on to Internet.
Well! thats a day debugging on the Firefox 3.5 Upgrade
SPCP – Smart Pandian’s Cleo Pack
What is a Cleo Pack?
CLEO Pack, itself a Firefox addon, that packs several firefox addons into one. This pack can be created by anybody using a CLEO and FEBE firefox addons
What is its Advantage?
Suppose we are installing a firefox into a new pc, Cleo Pack is one step installation of all addons, rather than downloading and installing each addon separately.
Smart Pandian’s Cleo Pack can be downloaded from here. SPCP 0.4.xpi
This Cleo Pack has got following addons.
60 in 3 Minutes , Random Quotes
Note: The tip in this blog, no longer works.
Few weeks back, one of my friend, known as “The Immortal” has requested all his friend to fill his Orkut scrap book to 10K. To say it from heart, it is illegal. But this keeps Orkut right.
Orkut has got lots of well defined process for preventing a user from automate scrapping in the scrap box.
For Example,
1, It prevents the advertising in the name of URL by checking the URL entered by user with the CAPTCHA..( I will write about it sometime future )
2. It prevents the user from scrapping the same text again and again.
3. Blank Scraps not possible.(may be)
These functionalities are important to note as they are the stepping stone above which we have to lay our feet to reach the goal. The Goal i reached is the 60 scrap in Three minutes..
To precisely summarize the requirement, a process is required to automate entering the text in the scrapbox and clicking the submit button.
Orkut uses Text area for Scrap Box and a table cell for submit button(?-*#_;)..
thankfully, both these elements have id as ‘scraptext’ and ‘b1′, else it would be some more complicated.
Automation Script that I have used is not a programmer’s favourite languages like perl, python ..(I do think that programmers will say “sea tastes like honey”).. I choose javascript and it would be running on Greasemonkey,an add on for Mozilla Firefox…
Why I have choosen this?
1. I have some idea on Grease monkey, Firefox and Javascript
2. I just know that it is going to be two lines of codes in this environment.
So what is the algorithm for these two lines of Code?
Algorithm is a best practise for writing a program. But it is needed for the place where it is needed. Algorithm is like dream and coding is like action. For some big achievements, there has a dream behind it. hey.. sorry.. i am cutting there.. its getting more philosophical..
Lets Come back to code…
document.getElementByID().value = random text; document.getElementByID().click();
that’s all the code… But the second line of code doesn’t work for me..
I suspect that it is because of table cell instead of button.(Orkuttan is bright)
There are hundreds of ways to create a random text. I have used a way, there by, three strings from two different arrays are joined in random fashion, it will yield the random string every time it is created.
for three minutes, i have clicked the submit button.. each time a random text filled up in the text area.. sixty scraps were made…
But the learning from this is not just clogging orkut, a new way of writing the scrap..
Now I have found a way of scrapping a message with randomly generated quote using this script as it was already populated..
so whats the future plan for this..
I would be writing a script for thunderbird so that a randomly generated quote can be added to all sent mails…
Deadline… Its always in future…
Reference:
http://diveintogreasemonkey.org/



