How to set proxy server in command line parameters
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
See also:
- FoxyProxy Standard: https://addons.mozilla.org/firefox/addon/foxyproxy-standard/