搜尋 Mozilla 技術支援網站

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

了解更多

how can I automate the addition of user_pref() calls in user.js ?

  • 1 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Hasan

more options

in order to make my plugin work I need to add user_pref() calls in user.js file. I tested it by making those changes manually and found working fine. But I need to ship this to customer and don't want him to manually change the browser setting by using about:config or by using chromeedit extension.

Is there ANY way I can automate this? I can use JSP, JS, Java or shell scripting to make this addition.

in order to make my plugin work I need to add user_pref() calls in user.js file. I tested it by making those changes manually and found working fine. But I need to ship this to customer and don't want him to manually change the browser setting by using about:config or by using chromeedit extension. Is there ANY way I can automate this? I can use JSP, JS, Java or shell scripting to make this addition.

由 chhaba 於 修改

所有回覆 (1)

more options

For Developer issues, Ask your question here: