Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

extensions.json key

  • 3 replies
  • 0 have this problem
  • Last reply by cor-el

more options

Hello

I want to use extension xpi's from a shared external folder over multiple Linux profiles. So i examined the profile folder and found extensions.json. Though i can't find any documentation to it's keys online.

There's "rootURI:" with a "jar:file://path/to/extension.xpi!/", so i tried just replacing the path with the shared one. Though i observed that just makes firefox replace the path with the current one. So i examined further and found the "location:" key with the default value "app-profile". So my guess is, there's other values for other usecases, right?

So, in summary, what i need is:

  • documentation to extensions.json keys or possible values to "location" key.
  • if that isn't intended/doesn't work, how i can achieve my goal otherwise.

And please don't suggest the sync feature, that doesn't work for my usecase.

Hello I want to use extension xpi's from a shared external folder over multiple Linux profiles. So i examined the profile folder and found extensions.json. Though i can't find any documentation to it's keys online. There's "rootURI:" with a "jar:file://path/to/extension.xpi!/", so i tried just replacing the path with the shared one. Though i observed that just makes firefox replace the path with the current one. So i examined further and found the "location:" key with the default value "app-profile". So my guess is, there's other values for other usecases, right? So, in summary, what i need is: * documentation to extensions.json keys or possible values to "location" key. * if that isn't intended/doesn't work, how i can achieve my goal otherwise. And please don't suggest the sync feature, that doesn't work for my usecase.

Modified by dani.priv+moz

All Replies (3)

more options

Use a bind-mount:

sudo mount --bind <shared external xpi folder> <local extensions folder>

Helpful?

more options

Thanks, but it should work without mounts or symlinks.

Helpful?

more options

You can use the ExtensionSettings policy to add extensions to Firefox.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.