Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Refresh firefox breaks lockpref proxy settings. How to avoid?

  • 1 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 adamdroid

more options

As stated. After everything is set up and working, a standard user can go to help, troubleshooting, and refresh firefox, and afterwards are able to bypass locked proxy preference.

I can only speculate why, and hoping someone here has a solution.

Here's things I have tried:

- Locking permissions on various appdata folders. - Checking about:config shows that it should still be enforcing the proxy settings, but for some reason, just isn't.

After I do the refresh, I have yet to find a way to get it to honor the mozilla.cfg file again. It's just completely broken.

This affects only that user profile. Which is why I find it so odd that locking profile ini and install ini and the default profile folder doesn't work. I can't lock the -release profile folder or firefox will believe an instance is already running, and I can't see where inside that profile there might be an issue (this is in the roaming folder, for all I know the issue is in the local folder, but why does firefox need all these folders anyway).

Thanks

As stated. After everything is set up and working, a standard user can go to help, troubleshooting, and refresh firefox, and afterwards are able to bypass locked proxy preference. I can only speculate why, and hoping someone here has a solution. Here's things I have tried: - Locking permissions on various appdata folders. - Checking about:config shows that it should still be enforcing the proxy settings, but for some reason, just isn't. After I do the refresh, I have yet to find a way to get it to honor the mozilla.cfg file again. It's just completely broken. This affects only that user profile. Which is why I find it so odd that locking profile ini and install ini and the default profile folder doesn't work. I can't lock the -release profile folder or firefox will believe an instance is already running, and I can't see where inside that profile there might be an issue (this is in the roaming folder, for all I know the issue is in the local folder, but why does firefox need all these folders anyway). Thanks

由 adamdroid 於 修改

所有回覆 (1)

more options

I guess I have solved it. Refreshing creates a new profile that for some reason does not use properly the mozilla.cfg even when it says it is. I think this is a bug.

Instead it uses only prefs.js in the new profile. If I lock down profile.ini, then close and reopen the browser, it goes back to the old profile and works properly. But still a security issue.

By putting user and prefs js files into the program folder, defaults, prefs subfolder, I am able to stop the initial refresh window from working.

However, I do not think this is completely secure. Standard users can edit the js files that are copied to the new profile, and if they can get those to operate without reloading the browser window, they will have a workaround.

But for my purposes, this is good enough.