I want to create a new profile with an addon preinstalled.
What works:
- run firefox a first time.
- add the addon.xpi to
profile/extensions/addon.xpi
. - edit profile
profile/extensions.ini
and addExtension0=/full/path/to/extension.xpi
. - start firefox again.
What i need:
- add the addon to
profile/extensions/addon.xpi
. - edit
extensions.ini
or something similiar. - use only relative paths, if possible (seems not to be implemented for extensions.ini)
Finally i want to create a zip file with some firefox preferences/addons, which can be unziped into a profilefolder to create a fresh profile with some preinstalled stuff. For this, it would be important, that everything works with relative paths. If it is definitely not possible, i can add some script to it. But i would prefer some "just unzip" solution.
I think it may be a bit harder, because mozilla wanted to prevent other software from adding toolbars and similiar to firefox by making external addon installation harder. What i already found is the key extensions.autoDisableScopes=0
.