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!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

A few questions re: policies.json

  • 1 svar
  • 0 har detta problem
  • 2 visningar
  • Senaste svar av Mike Kaply

more options

Hi there,

I'm playing with policies.json on Linux/Ubuntu now, trying to improve my knowledge of Firefox customization through different policies and user interaction after the Firefox deployment. I added a custom bookmark and extension, which show and install okay when I restart the browser. But when I delete them from within the browser and restart Firefox, they show up again. To avoid this, I can delete /etc/firefox/policies/policies.json after the Firefox deployment. Hence my questions:

  • Is the deletion of the JSON file after the Firefox deployment a reasonable option at all?
  • If yes, how can I automate the process silently, without user interaction?
  • If no, what would be your advice to let users modify the browser settings like removing extension(s) or bookmark(s) set in policies.json so that they do not reappear after the browser restart?

Thank you! Rustam

Hi there, I'm playing with '''policies.json''' on Linux/Ubuntu now, trying to improve my knowledge of Firefox customization through different policies and user interaction after the Firefox deployment. I added a custom bookmark and extension, which show and install okay when I restart the browser. But when I delete them from within the browser and restart Firefox, they show up again. To avoid this, I can delete '''/etc/firefox/policies/policies.json''' after the Firefox deployment. Hence my questions: * Is the deletion of the JSON file after the Firefox deployment a reasonable option at all? * If yes, how can I automate the process silently, without user interaction? * If no, what would be your advice to let users modify the browser settings like removing extension(s) or bookmark(s) set in policies.json so that they do not reappear after the browser restart? Thank you! Rustam

Ändrad av ralhas

Alla svar (1)

more options

Generally folks don't delete policies.json because they want the policy with new profiles as well.

> If no, what would be your advice to let users modify the browser settings like removing extension(s) or bookmark(s) set in policies.json so that they do not reappear after the browser restart?

Our experience with bookmarks is that most companies don't want the user to delete the bookmarks, so we don't support this use case.

Extensions are a little better. I think if you use Extensions->Install instead of ExtensionSettings, we don't reinstall. This is something I need to do better.