Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox and proxy settings that changes during a session

  • 4 个回答
  • 6 人有此问题
  • 1 次查看
  • 最后回复者为 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 ?

所有回复 (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.