為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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).