Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.

আরও জানুন

Can I start Firefox from command line, so that the window can only be maximized or closed?

  • 2 উত্তরসমূহ
  • 1 এই সমস্যাটি আছে
  • 2 দেখুন
  • শেষ জবাব দ্বারা RoMo17

more options

I want a specific Windows user to be able to surf, but nothing else. So I aim to run a PowerShell script at the logon of that user, that starts Firefox in a maximized window, and that automatically logs the user out when the Firefox window is closed.

The problem is that the user can change the window format to normal or minimized, and that way reach functions that I do not want.

So, I would like to be able to block the symbols for minimizing, setting to normal or maximizing the Firefox window.

/Rolf

I want a specific Windows user to be able to surf, but nothing else. So I aim to run a PowerShell script at the logon of that user, that starts Firefox in a maximized window, and that automatically logs the user out when the Firefox window is closed. The problem is that the user can change the window format to normal or minimized, and that way reach functions that I do not want. So, I would like to be able to block the symbols for minimizing, setting to normal or maximizing the Firefox window. /Rolf

All Replies (2)

more options

Here are the Command Line Options for Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Hopefully that will answer your dilemma.

more options

-headless could be it, but I do not get it to work.