為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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: