Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to set proxy server in command line parameters

  • 2 个回答
  • 1 人有此问题
  • 126 次查看
  • 最后回复者为 cor-el
  • 已存档

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

所有回复 (2)

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