specify status of proxy"when launching the browser with a command line switch

Could someone state if this feature is already implemented in foxyproxy? I can't find any extension that will work with FF 3.x that has this feature. The closest I found on this topic is with proxybutton (see http://proxybutton.mozdev.org/index.html).
If not yet available, could it be added?

Thanks for your reply. Jerome

Hi Jerome, No, FoxyProxy

Hi Jerome,

No, FoxyProxy does not examine command-line arguments/switches. It does, however, remember the last setting used. Is that sufficient, or do you still require command-line switches/arguments?

Eric

Hi Eric, Thank you for your

Hi Eric,

Thank you for your prompt reply. I would very much like to have a command line switch for the following scenario:
- Business laptop with FF required to use a manually configured proxy when used in the office
- No proxy required when used outside out of the office

The approach used by Proxybutton could be considered:
Use of a "-proxy" switch when launching the browser from the command line. You can set it to the same values as used by network.proxy.type parameter in about:config. The values are:
0 - no proxy (direct connection),
1 - manual proxy,
2 - use automatic proxy configuration URL,
4 - auto-detect proxy settings.
So for example command "firefox -proxy 1" will start Firefox with manual proxy enabled. The switch just sets the network.proxy.type parameter.

Regards, Jerome

Hi Jerome, Why doesn't

Hi Jerome,

Why doesn't ProxyButton suite your needs?

Thanks,
Eric

Hi Eric, That was my

Hi Eric,

That was my intention at first...
But ProxyButton will not intall in my FF3.0.6. The warning message states "ProxyButton will not be installed because it does not provide secure updates" and FF abort the installation.
Your message prompted me to check back the PB mailing list for thread on this installation problem. I found instructions on how to disable the FF security warning. I've now installed the ProxyButton add-on and it works perfectly for my (current) need.

Thanks for your time in answering my messages.

Jerome

I'm rather seconding the request, with more details

I'd like to have FF supporting command-line option as well. I need the same working environment whenever and wherever I go, so I'm using portable FF and is happy with it. I don't want to create multiple FF profiles, since it'd consume lots of space on my USB flash while that won't be really needed, and it'd make me to dupe all the changes I made for one profile in all others. It's not an efficient solutions by any means. Instead, I'd like to be able to setup proxies list in my FP, some of them disabled, and to be able to start FF with options like the following:
firefox.exe -foxyproxymode:0 //start FF with FP completely disabled
firefox.exe -foxyproxymode:t //start FF with FP in "using templates mode"
firefox.exe -foxyproxymode:d //start FF with FP using default procy for all requests
firefox.exe -foxyproxymode:17 //start FF with FP using proxy #17 for all requests
Of course, if it'd be implemented, it'd be useful to display each proxy's number in the list. And when no -foxyproxymode is selected from command line, then the last remembered mode is used, as it is now.
Another possible (and even better, maybe) solution is to allow having several FP internal profiles with ability to select one from command line, but I think that'd be much more work to implement and quite difficult to use, so I don't think that should be prefered.

Hi Alex,   What if the

Hi Alex,

 

What if the ability you describe was in the FoxyProxyy Options Dialog (GUI) instead of command-line arguments? The reason I ask is because another user asked for this, and I'd much rather put it where people can see it instead of as command-line arguments.

 

So you'd have a drop-down list of options to choose from, similar to the different command-line args you specified above.

 

Let me know if this would suffice.

 

Eric

Hello, Eric. Sorry, but it's

Hello, Eric. Sorry, but it's not the same, though your idea would be helpful for many people... Let me describe the test case:
I have Portable FF on my USB stick. Well, I'm using it at home, at work, at my parents' place and occasionaly - in some other places.
At work, I have to use very complicated rules, that FP helps me to maintain (thank you for that!!!), passing some requests through corporate proxy, processing some of them as direct, passing some through local HTTPTunnel and some - through Proxomitron for filtering and patching requests and responses before. And I really need that.
At home I have only local Proxomitron and need to pass all traffic through it.
At my parents' place I have to use their provider's proxy.
In most other places I need to connect to Internet direct or define a new proxy, let's leave this case aside since it's very rare.
And each time when I go from work to home, or from home to work, or go to my parents etc - I have to start FireFox, that loads the last session with about 30 tabs, and most of them do not load because of wrong proxy, then I switch FP to correct mode and do "reload all tabs", and that happens twice a day average, and it's TERRIBLE. The same time I have portable Miranda, for example. and have a simple script to start it that starts it with appropriate proxy address depending on machine name. I could use it to start FF or just write command-line args manually, if FP just support that. But alas, using configurable default mode won't solve my problem :( And I think I'm not the only one with similar problem...
Alex.

The code for commandline has

The code for commandline has been committed to svn and should be in next release.
Had a discussion with eric and a complete example of how it could be done on mdc, and he had it done even before I had found a beer

Thank you, guys!!! If you

Thank you, guys!!! If you like beer and plan to come to Moscow, just let me know in advance ;)

I thought Russia was the

I thought Russia was the country of vodka and not beer

Oh, yes, and bears are

Oh, yes, and bears are walking all over Moscow, not to mention lesser cities and towns :D
Well, the best beer in the world is Irish, of course, but there is really good beer here, yeah.

I have always wanted to

I have always wanted to visit Moscow and St. Petersburg.

Well, if you ever decide to

Well, if you ever decide to - you're welcome, I'd be glad to be your guide and, probably, host :)

Couldn't you let me know, if

Couldn't you let me know, if there is any ETA of the new version released?..

I can send you a beta to

I can send you a beta to try. Can you email me directly at eric dot jung at yahoo dot com?

Thanks,
eric

This is done in FoxyProxy

This is done in FoxyProxy 2.14. Please upgrade.

Eric