We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

How to set proxy server in command line parameters

  • 2 replies
  • 1 has this problem
  • 6 views
  • Paskiausią atsakymą parašė 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

All Replies (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