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!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

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

How to set proxy server in command line parameters

  • 2 respostas
  • 1 tem este problema
  • 6 visualizações
  • Última resposta por cor-el

more options

Hi,

In Chrome, I can set the proxy server by using the following command line parameters:

chrome.exe --proxy-server="socks5://139.52.68.77:15232"

Is it also possible to do so with FireFox? I want to create two shortcuts for FireFox, one using Proxy and one does not using Proxy. Thus I can start the shortcut based on my requirement instead of going to "Options" tab and set the proxy options back and forth manually, which is inconvenient.

Thanks

Hi, In Chrome, I can set the proxy server by using the following command line parameters: chrome.exe --proxy-server="socks5://139.52.68.77:15232" Is it also possible to do so with FireFox? I want to create two shortcuts for FireFox, one using Proxy and one does not using Proxy. Thus I can start the shortcut based on my requirement instead of going to "Options" tab and set the proxy options back and forth manually, which is inconvenient. Thanks

Todas as respostas (2)

more options

Hmm, I do not see that here: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options

What you could do is create two separate Firefox profiles, configure one to use a proxy or PAC file, and then add the respective profile names to the command lines. (A profile is similar to a Chrome user identity, except that Firefox has to restart to switch profiles.)

More info: Profile Manager - Create, remove or switch Firefox profiles

more options