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.

Search 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

Launch Firefox with resized window (1024*768) using userchrome or by config file.

more options

Launch Firefox with resized window (1024*768) using userchrome or by config file.

I want it to be hardcoded and re-bundled. So it sets the size as default after installation.

Launch Firefox with resized window (1024*768) using userchrome or by config file. I want it to be hardcoded and re-bundled. So it sets the size as default after installation.

All Replies (1)

more options

I don't think there are any style rules (for userChrome.css) or preferences (for prefs.js / user.js) that set the window size. An add-on probably can resize a window, but there would be a small delay before it starts up. Possibly a startup script could do it, but I haven't seen code for it myself.

Startup script references: