搜尋 Mozilla 技術支援網站

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

Learn More

Configure About:config via a .bat file

  • 1 回覆
  • 0 有這個問題
  • 9 次檢視
  • 最近回覆由 cor-el

more options

My job requires for Boolean and New String configurations inside of the about:config section of Firefox. I've been doing this manually by copying and pasting the lines, but I would like to automate this process via a .bat file if possible. I've created a .bat file for mapping network drives before but I've never created one for running a script in a browser before so I'm a noob.

I need the .bat file to convert boolean values to false and add strings. If possible, I would also like for this batch file to change the homepage to a page of my choosing. Any and all help would be appreciated, Thank You!

My job requires for Boolean and New String configurations inside of the about:config section of Firefox. I've been doing this manually by copying and pasting the lines, but I would like to automate this process via a .bat file if possible. I've created a .bat file for mapping network drives before but I've never created one for running a script in a browser before so I'm a noob. I need the .bat file to convert boolean values to false and add strings. If possible, I would also like for this batch file to change the homepage to a page of my choosing. Any and all help would be appreciated, Thank You!

所有回覆 (1)

more options

You can use a user.js file in the profile folder or a autoconfig.cfg file to set some prefs to specific values, there are also policies for specific features. The user.js files use the same layout as prefs.js for modified prefs.

See:

有幫助嗎?

問個問題

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