Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Can I use 'policies.json' file to configure firefox browser? Or it is only allowed with firefox for enterprise?

  • 2 odgovora
  • 1 ima to težavo
  • 4 ogledi
  • Zadnji odgovor od Usama-Tahir

more options

I am just working on firefox extension and I want to make some policies in my project. My policies.json file include : {

 "policies": {
   "Extensions": {
     "Install": ["https://addons.mozilla.org/firefox/downloads/myExtensionId.xpi"],
     "Uninstall": ["myExtensionId"],
     "Locked":  ["myExtensionId"]
   }
 }

} I have placed my policies.json in "/usr/lib/firefox/distribution/policies.json". But still i am not observing any change in behavior of browser. I am using firefox 27.0 on ubuntu 18.04.2 LTS (64-bit)

I am just working on firefox extension and I want to make some policies in my project. My policies.json file include : { "policies": { "Extensions": { "Install": ["https://addons.mozilla.org/firefox/downloads/myExtensionId.xpi"], "Uninstall": ["myExtensionId"], "Locked": ["myExtensionId"] } } } I have placed my policies.json in "/usr/lib/firefox/distribution/policies.json". But still i am not observing any change in behavior of browser. I am using firefox 27.0 on ubuntu 18.04.2 LTS (64-bit)

Vsi odgovori (2)

more options

This should work, but with only "Install" option. Check out the about:policies page.

more options

I observed it only once that it automatically installed my extension, but later upon uninstalling and removing my extension, and after restarting firefox and system it is not being installed onward. I am also trying to prevent user from uninstalling and removing that extension upon installation that's why I have written other policies. P.S: Just for clarification, I am using firefox 27.0