搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.