We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜索 | 用户支持

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

详细了解

My prefs.js file is being automatically rewritten every time FF loads

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

My proxy settings are being changed every time FF loads, from Automatically Detected or No Proxy to Manual 127.0.0.1. In reading other articles I found the prefs.js file in my Profiles directory and deleted the two lines that reference a Proxy location as directed, as well as changed to the proxy.type setting to 0. Firefox is always closed when I do this. I reload FF and I'm right back to the Manual Proxy setting with the 127.0.0.1 address. The date/time stamp shows the prefs.js was edited at the same moment I reloaded FF, but obviously not by me, and the lines I deleted are right back in there.

These settings were fine forever. I got one of those fake anti-virus program scams on my system late last week, and this started happening then. However I've removed (or so I thought) all references to that program and it hasn't returned. Maybe a coincidence, maybe not.

Any help will be appreciated.

My proxy settings are being changed every time FF loads, from Automatically Detected or No Proxy to Manual 127.0.0.1. In reading other articles I found the prefs.js file in my Profiles directory and deleted the two lines that reference a Proxy location as directed, as well as changed to the proxy.type setting to 0. Firefox is always closed when I do this. I reload FF and I'm right back to the Manual Proxy setting with the 127.0.0.1 address. The date/time stamp shows the prefs.js was edited at the same moment I reloaded FF, but obviously not by me, and the lines I deleted are right back in there. These settings were fine forever. I got one of those fake anti-virus program scams on my system late last week, and this started happening then. However I've removed (or so I thought) all references to that program and it hasn't returned. Maybe a coincidence, maybe not. Any help will be appreciated.

所有回复 (3)

more options

See if you have a user.js file in your Profile folder.

http://kb.mozillazine.org/User.js_file

user.js is read after the prefs.js file is read, as Firefox is launched each time.

user.js is an optional file which doesn't come with Firefox, so "someone" added that file if it exists in your Profile. If you don't recall creating that file yourself, just delete it. Or if you did create that file and have a need for it, just edit out those two lines and save it.

more options

I had looked for the user.js file and its nowhere to be seen in that directory (or anywhere else on my system--I checked just to be sure.)

more options

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).