搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

differences and interchangibility of pref(); user_pref(); and lockPref();

  • 無回覆
  • 0 有這個問題
  • 2 次檢視
more options

Firefox is used on Windows 11 Enterprise. There is a firefox.cfg in the installation directory (and an autoconfig.js in the ./defaults/pref sub-directory). The firefox.cfg targets an autoconfigfile.js. This setup is recommended here: [firefox using autoconfig"]

  1. In the support article´s example, the firefox.cfg uses a pref(); expression. Is it possible to use a lockPref(); expression instead?
  2. What is the result of either using pref(); expressions or user_pref(); expressions in the remoted autoconfigfile.js? Are both of them possible, especially while the firefox.cfg uses lockPref(); expressions instead of pref();?

I hope that somesone can help with one of these questions. Thanks a lot!

Firefox is used on Windows 11 Enterprise. There is a ''firefox.cfg'' in the installation directory (and an ''autoconfig.js'' in the ./defaults/pref sub-directory). The ''firefox.cfg'' targets an ''autoconfigfile.js''. This setup is recommended here: [[https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig#w_centralized-management|"customizing firefox using autoconfig"]] # In the support article´s example, the ''firefox.cfg'' uses a '''pref();''' expression. Is it possible to use a '''lockPref();''' expression instead? # What is the result of either using '''pref();''' expressions or '''user_pref();''' expressions in the remoted ''autoconfigfile.js''? Are both of them possible, especially while the ''firefox.cfg'' uses '''lockPref(); '''expressions instead of '''pref();'''? I hope that somesone can help with one of these questions. Thanks a lot!

由 fortuna90 於 修改

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題