Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Automatic extension installation

  • 7 ответов
  • 0 имеют эту проблему
  • 28 просмотров
  • Последний ответ от Mike Diehl

more options

Hi All,

I have a number of computers that I would like to have configured identically, including Firefox's extensions. Is there a mechanism that I could use to automatically install a list of extensions on my (linux, windows) computers?

TIA, Mike.

Hi All, I have a number of computers that I would like to have configured identically, including Firefox's extensions. Is there a mechanism that I could use to automatically install a list of extensions on my (linux, windows) computers? TIA, Mike.

Выбранное решение

It was, but it was also listed under "Errors." The error message was fairly intuitive. I had to change:

donttrackme to dont-track-me-google@robwu.nl

Resulting in:

{

 "policies": {
   "ExtensionSettings": {
     "dont-track-me-google@robwu.nl": {
       "installation_mode": "force_installed",
       "install_url": "https://addons.mozilla.org/firefox/downloads/latest/dont-track-me-google1/latest.xpi"
     }
   }
 }

}


That seems to have fixed it!

Thank you so much. Now I can install a lot of good stuff on my family's browsers.

Mike.

Прочитайте этот ответ в контексте 👍 0

Все ответы (7)

more options

Is this just not possible?

Mike.

Полезно?

more options

You can use Enterprise Policy, but there are some subtleties to how you apply it:

For the syntax of the ExtensionSettings policy, see:

https://mozilla.github.io/policy-templates/#extensionsettings

Полезно?

more options

Thank you for your reply.

I created a file: /etc/firefox/policies/policies.json

With this content:

{

 "donttrackme": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/file/4132891/dont_track_me_google1-4.28.xpi

"

 }

}

Then, I restarted firefox, expecting that the Don't Track Me extension would get installed. But nothing happened.

What am I missing?

Mike.

Полезно?

more options

Based on

https://mozilla.github.io/policy-templates/#policiesjson-53

I think it would be:

{
  "policies": {
    "ExtensionSettings": {
      "donttrackme": {
        "installation_mode": "force_installed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/dont-track-me-google1/latest.xpi"
      }
    }
  }
}

However, I have not tested that myself.

Полезно?

more options

Well, I changed my file to look like what you supplied and restarted Firefox. Should I expect for that extension to just "show up?"

I sure hope so.

Mike.

Полезно?

more options

Hi Mike, if you load up the about:policies page, is your policy listed there on the "Active" panel?

Полезно?

more options

Выбранное решение

It was, but it was also listed under "Errors." The error message was fairly intuitive. I had to change:

donttrackme to dont-track-me-google@robwu.nl

Resulting in:

{

 "policies": {
   "ExtensionSettings": {
     "dont-track-me-google@robwu.nl": {
       "installation_mode": "force_installed",
       "install_url": "https://addons.mozilla.org/firefox/downloads/latest/dont-track-me-google1/latest.xpi"
     }
   }
 }

}


That seems to have fixed it!

Thank you so much. Now I can install a lot of good stuff on my family's browsers.

Mike.

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.