Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

A few questions re: policies.json

  • 1 отговор
  • 0 имат този проблем
  • 2 изгледи
  • Последен отговор от 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

Променено на от ralhas

Всички отговори (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.