Changing Firefox Proxy from external Application
Hi,
I am currently troubling my mind on this problem. I want to change the
Proxy of Firefox from my program. This is no problem if Firefox is not
running, as I can then edit the prefs.js file manually.
But if Firefox is running this does not work. Is there a way to call
Firefox to set some settings?
Or is there a different way to achieve this without closing firefox in
between?
many thanks in advance :)
regards,
Philip
Re: Changing Firefox Proxy from external Application
Philip Chinery wrote:[color=blue]
> Hi,
>
> I am currently troubling my mind on this problem. I want to change the
> Proxy of Firefox from my program. This is no problem if Firefox is not
> running, as I can then edit the prefs.js file manually.
>
> But if Firefox is running this does not work. Is there a way to call
> Firefox to set some settings?
> Or is there a different way to achieve this without closing firefox in
> between?
>
> many thanks in advance :)
>
> regards,
> Philip[/color]
Enter about:config in the location bar in Firefox and filter for the
preference you are changing in your prefs.js file. Or, in Firefox do
Tools - Options - General tab - Connection Settings. I don't use
proxies but I'm guessing you may have to restart Firefox for the change
to take effect.
--
Ed Mullen
[url]http://edmullen.net[/url]
[url]http://mozilla.edmullen.net[/url]
[url]http://abington.edmullen.net[/url]
Re: Changing Firefox Proxy from external Application
Ed Mullen wrote:[color=blue]
> Philip Chinery wrote:[color=green]
>> Hi,
>>
>> I am currently troubling my mind on this problem. I want to change the
>> Proxy of Firefox from my program. This is no problem if Firefox is not
>> running, as I can then edit the prefs.js file manually.
>>
>> But if Firefox is running this does not work. Is there a way to call
>> Firefox to set some settings?
>> Or is there a different way to achieve this without closing firefox in
>> between?
>>
>> many thanks in advance :)
>>
>> regards,
>> Philip[/color]
>
> Enter about:config in the location bar in Firefox and filter for the
> preference you are changing in your prefs.js file. Or, in Firefox do
> Tools - Options - General tab - Connection Settings. I don't use
> proxies but I'm guessing you may have to restart Firefox for the change
> to take effect.
>[/color]
Not looked through it much but you may find some info at:
[url]http://kb.mozillazine.org/Dev_:_Using_preferences[/url]
As far as I know prefs.js and user.js are only read at startup,
changes to preferences within a running browser are written to
prefs.js at shutdown.
Re: Changing Firefox Proxy from external Application
[color=blue]
> Enter about:config in the location bar in Firefox and filter for the
> preference you are changing in your prefs.js file. Or, in Firefox do
> Tools - Options - General tab - Connection Settings. I don't use
> proxies but I'm guessing you may have to restart Firefox for the change
> to take effect.[/color]
When changing the proxy from within firefox, I do not need to restart
the browser, but what I want is to change the settings from my program
outside firefox.
Re: Changing Firefox Proxy from external Application
Philip Chinery wrote:[color=blue]
>[color=green]
>> Enter about:config in the location bar in Firefox and filter for the
>> preference you are changing in your prefs.js file. Or, in Firefox do
>> Tools - Options - General tab - Connection Settings. I don't use
>> proxies but I'm guessing you may have to restart Firefox for the
>> change to take effect.[/color]
>
> When changing the proxy from within firefox, I do not need to restart
> the browser, but what I want is to change the settings from my program
> outside firefox.[/color]
You don't specify /what/ your external program is; that would be helpful
for people here to assist you. What you want to do /may/ be possible but
it's certainly beyond me.
--
Ed Mullen
[url]http://edmullen.net[/url]
[url]http://mozilla.edmullen.net[/url]
[url]http://abington.edmullen.net[/url]