This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

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.

Pelajari Lebih Lanjut

Firefox and proxy settings that changes during a session

  • 4 balas
  • 6 memiliki masalah ini
  • 1 kunjungan
  • Balasan terakhir oleh cor-el

more options

I have a corporate laptop that needs to use a corporate proxy when connected via VPN or physically to the corporate network. Obviously, there is no proxy when it is connected to my home network directly.

I've written a proxy autoconfiguration script that can detect which network I'm on and configure the proxy accordingly. The problem is that Firefox only runs it once. It does not do so when later the network settings change, i.e. when I connect via VNP.

Firefox automatic detection fails also.

Any suggestions ?

I have a corporate laptop that needs to use a corporate proxy when connected via VPN or physically to the corporate network. Obviously, there is no proxy when it is connected to my home network directly. I've written a proxy autoconfiguration script that can detect which network I'm on and configure the proxy accordingly. The problem is that Firefox only runs it once. It does not do so when later the network settings change, i.e. when I connect via VNP. Firefox automatic detection fails also. Any suggestions ?

Semua Balasan (4)

more options

Maybe this extension helps:

more options

Doesn't really solve my problem. Foxyproxy allows to define different proxy configuration for different URLs, while I need different configurations when I'm connected via different networks. In fact, javascript in the proxy autoconfiguration file is perfectly capable of doing this - all I need is a way to tell Firefox to reload it when network settings change.

more options

Even "reload pac" option does not really work - Firefox only reloads it after some connection times out.

At the same time IE manages to work correctly

more options

Did you try the Reload button in Tools > Options > Advanced > Network: Connection > Settings ?

You can also reload the PAC file with the Prefbar extension and the Reload PAC button.