Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

How to make FF refresh proxy settings from command line/script?

  • 1 відповідь
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від wjdingdev

more options

I configured my Windows 10 Firefox proxy to use system proxy settings, and I have a script can based on different network environment modify the system proxy autoconfiguration script address (HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL) in registry to update the proxy settings. Internet Explorer works well - new proxy configuration usually become effective in 1 or 2 minutes after the change. However, each time after my script changes the registry proxy address (without FF restart), I have to go to Firefox Tools->Settings->Proxy to manually change it to another value (in my case it's from "Use system proxy settings" to any other value), confirm it, and then change it back. Then FF is able to reload the autoconfiguration script to make it work. This is really a headache.

I just wonder is there a way to notify FF to reload the proxy autoconfiguration script address from registry from command line so that my script can trigger it automatically after the registry is modified?

Thanks.

I configured my Windows 10 Firefox proxy to use system proxy settings, and I have a script can based on different network environment modify the system proxy autoconfiguration script address (HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL) in registry to update the proxy settings. Internet Explorer works well - new proxy configuration usually become effective in 1 or 2 minutes after the change. However, each time after my script changes the registry proxy address (without FF restart), I have to go to Firefox Tools->Settings->Proxy to manually change it to another value (in my case it's from "Use system proxy settings" to any other value), confirm it, and then change it back. Then FF is able to reload the autoconfiguration script to make it work. This is really a headache. I just wonder is there a way to notify FF to reload the proxy autoconfiguration script address from registry from command line so that my script can trigger it automatically after the registry is modified? Thanks.

Усі відповіді (1)

more options

Thanks Dropa. But do you know how to make FF to flush/re-read proxy settings from registry? Thanks, Steven

Dropa said

Beyond the Proxy settings that you can do in settings anything else beyond that would be up to the user own customization settings.