We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

Mozilla Support में खोजें

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 यह समस्या है
  • 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: