This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Configure About:config via a .bat file

  • 1 (رد واحد)
  • 0 have this problem
  • 9 views
  • آخر ردّ كتبه 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!

All Replies (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: