Firefox Extension Preferences Import and Export - gHacks Tech News

Firefox Extension Preferences Import and Export

Many Firefox extensions add their own entries to the Firefox configuration that you can access by typing about:config in the address bar of Firefox, or by opening the file prefs.js directly from the Firefox profile folder.

It is relatively easy to backup the full Firefox user profile which includes that file and thus all extension preferences, but problems arise if only select preferences from specific extensions need to be exported.

I'm thinking of a scenario where a user copied his profile from his main computer to his notebook and installed an extension on the main computer afterwards.

This could also be helpful if you regularly install and uninstall Firefox on the same computer or if you want to merge profiles.

The OPIE - Ordered Preference Import/Export - extension provides the user with options to import and export preferences from select Firefox extensions. Some or all of the extensions can be selected during export and they can be saved to a single file or separate files for each extension. The latter is useful for merging profiles or sending preferences of specific extensions to another computer.

The import of preferences works pretty much the same way. The only difference is that a previously exported file is selected that is imported into Firefox. The results are shown in the same window.

firefox extension preferences export

The files are saved with the .prefs extension so that they are better recognizable. The benefit of using OPIE instead of a full Firefox backup extension like FEBE - Firefox Environment Backup Extension - is that OPIE can selectively export and import preferences while all other extensions that backup Firefox settings can only import and export all settings.

Update: Mozilla has started to integrate the synchronization of Firefox add-ons, along with their preferences, in more recent versions of the browser. This requires a Mozilla account and an active Internet connection though, which means that this method is still useful in certain cases.

Update 2: The developer has published OPIE2 recently which is a more advanced version of the original program. The core difference is that it provides even more customization options. It is for instance possible to add your own preferences to the exported file and to export individual preferences selectively as well instead of all preferences of an add-on installed in the web browser.

Summary
OPIE
Article Name
OPIE
Description
OPIE is a Firefox add-on that allows you to export and import preferences of browser extensions.
Author
Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. darkkosmos said on April 27, 2008 at 8:43 pm
    Reply

    You can just use Mozbackup, it can keep the addon’s preferences and other stuff.

  2. Martin said on April 27, 2008 at 9:48 pm
    Reply

    but that would mean to import the full profile. I think the main use of this extension is if you want to move the settings of one or a few extensions to another profile or computer.

  3. darkkosmos said on April 28, 2008 at 6:05 pm
    Reply

    True martin but I’m puzzled why you would want to import preferences from a few addons.

  4. Martin said on April 28, 2008 at 6:37 pm
    Reply

    It could come in handy if you have installed an add-on on your main computer that required lots of configuration and want to move that add-on to your notebook including all the preferences. You may not want to move all add-ons or settings to the notebook however.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.