enrii.blog

A passionate programmer’s findings in the world of internet.

Backup and Restore Firefox Configurations and Settings (Profile)

Wednesday, February 6th, 2008

Recently, I installed my web based PHP system in a company. After I setup the server, I went to each PC to install Mozilla Firefox. There are around 8 computers and it will take a while for me to install and reconfigure each of the fresh installed Firefox.

So, I spend some time to check how I can backup all configurations from one machine and move it to all the others. I did not expect it to be so simple.

Backup Firefox Profile

Copy the following file:

C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\profile.ini

and the following Firefox profile folder:

C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<random-string>.default

into a pendrive to backup.

Restore Firefox Profile

Go to the second machine, replace the profile.ini file at the exact location. Then, copy the profile folder to the exact location as well.

You can expect all the Firefox settings and configurations are transferred to the second machine!

In case you had renamed the profile folder, make sure you correct profile.ini file so that it points to correct path.

If you would like to read further details, go to: Firefox Help: How to Manage Profiles

Lock Firefox Preferences

Tuesday, November 7th, 2006

It is interesting to know that Mozilla provides a mechanism for us to lock any preferences in the option menu. If you would like to play with it, follow these instructions:

  1. Go to Tools > Options...
  2. Change the setting of the preference you want to lock.
    e.g. lock General > Home Page Location to "about:blank".
  3. Open "about:config" to find the key of the preference. Use the filter field to save your time from scrolling up and down.
    e.g. Type in "homepage" and you can find "browser.startup.homepage".
  4. Open a notepad and write in the following lines:
    //
    lockPref("browser.startup.homepage", "about:blank");
  5. Save it as Mozilla.txt and do byte shift with an offset of 13. Use this byte shift service. You will receive a file "mozilla.cfg", which you must save it at the location of firefox.exe.
  6. Add the following line to "C:\Program Files\Mozilla Firefox\greprefs\all.js" file:
    pref("general.config.filename", "mozilla.cfg");

You will find your homepage field in options uneditable after that.

Reference:
Locking Mozilla Firefox Settings

Urgent: Update Your Firefox to Version 1.5.0.5 Now

Friday, July 28th, 2006

Firefox Logo Mozilla recently patched 13 Firefox flaws, which 8 of them are tagged "critical".

TechWeb.com reported:

Danish vulnerability tracker Secunia tagged the overall update as "highly critical," the second-from-the-top threat ranking. "[These] multiple vulnerabilities can be exploited to conduct cross-site scripting attacks or compromise a user's system," Secunia's online research note read.

A majority of the bugs will allow an attacker to introduce his own code to a vulnerable system; several of them can be exploited by posting malicious code or content on Web sites and enticing users to visit those sites.

If you are running on 1.5.x version of Firefox, check for new version and download Firefox 1.5.0.5 by clicking on Help > Check for Updates... in the file menu.

Firefox Cheat (Shortcuts) Sheet

Tuesday, June 20th, 2006

Firefox Logo I have heard a lot about game cheat, but have not heard anything about Firefox cheat. Leslie Franke has done a good job to compile all shortcuts for Firefox to fit into a single page. It fits nicely into a single piece of A4 paper when I printed it out just now.

I suggest you keep one on your desk for a few weeks. It will definitely improve your browsing experience with the fox. You wouldn't need it anymore after some time.

Mozilla Firefox Cheat Sheet

(via digg)

Installed Google Browser Sync

Tuesday, June 20th, 2006

I've installed Google Browser Sync, a Firefox extension by Google. I made a few print-screens on what it does, if you are too lazy to install to try it out.

Once you have installed it, you will see this, as soon as you start up your Mozilla Firefox.

Google Browser Sync - Installed

(more...)