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.
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.Advertisement
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:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.