Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 2 respostas
  • 1 tem este problema
  • 2 visualizações
  • Última resposta por 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

Todas as respostas (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.