搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

extensions.json key

  • 3 回覆
  • 0 有這個問題
  • 最近回覆由 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.

由 user51876191443968851806087765225490409015 於 修改

所有回覆 (3)

more options

Use a bind-mount:

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

Thanks, but it should work without mounts or symlinks.

more options

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