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 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How To Clean Out Prefs That Are Clearly Old And Out of Date?

  • 7 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: whitedavidp

more options

I have used and updated Firefox for years. I am now on v79. And in my prefs.js file (about:config) there is tons of old crap. Things like references to old addons which cannot even be installed any more and were removed during updates, prtiner setup stuff for printers I no longer own, and something that is causing the rendering of chase.com to be messed up and the site unusable in FF.

Is there some reasonable way to clean up the prefs.js? Using about:config does not seem to remove entries, only reset them to default. If I exit FF and edit the file in my text editor, FF doesn't work right when re-started - I have to restore the profile folder from a backup.

There must be some way. Any help/tips?

Thanks

I have used and updated Firefox for years. I am now on v79. And in my prefs.js file (about:config) there is tons of old crap. Things like references to old addons which cannot even be installed any more and were removed during updates, prtiner setup stuff for printers I no longer own, and something that is causing the rendering of chase.com to be messed up and the site unusable in FF. Is there some reasonable way to clean up the prefs.js? Using about:config does not seem to remove entries, only reset them to default. If I exit FF and edit the file in my text editor, FF doesn't work right when re-started - I have to restore the profile folder from a backup. There must be some way. Any help/tips? Thanks

선택된 해결법

I have not created and migrated to an entirely new profile (at least not yet) as that seems too much of a struggle at this point. However, I did use the new trash can icon in about:config to cleanly delete a number of ancient entries (which I could multi-select and then hit the trash can once) and that alone was gratifying. In doing this I was also able to ID a number of files and folders in my profile that were tied to old addons/FF versions and removed them as well. Even bookmarks.html. So I feel better having done at least some house cleaning. Thanks!

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (7)

more options

If you want to clean out prefs then best is to remove prefs.js and redo your settings.

If you have more files in your current profile folder that have leftovers from a long past then maybe this is a good time to start with a fresh profile and clean out all remnants from old Firefox versions.

See "Creating a profile":

You can transfer files from a previously used profile to the new profile, but make sure not to carry over problems.


You can copy specific files with Firefox closed to the current profile folder to transfer personal data.

  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (passwords) and key4.db (58+) or key3.db (57 and older) (decryption key) for Passwords saved in the Password Manager
    if you only have key3.db then make sure to remove an existing key4.db
  • cert9.db (58+) or cert8.db (57 and older) for (intermediate) certificates stored in the Certificate Manager
    if you only have cert8.db then make sure to remove an existing cert9.db
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)
more options

Thanks. This is all stuff I was hoping to avoid facing. It is a shame there is no less laborious way to go about this.

more options

If you edit prefs.js then you need to be very cautious not to corrupt the file like you notice and if there are really a lot of old preferences then chances to corrupt the file get higher and you can still leave prefs that are connected to a pref you removed. It is a lot of work to check what a specific pref is about to determine if it is safe to remove.

more options

The current version of about:config can have either a reset button (left arching arrow) or a delete button (trash can) at the right end of each preference row.

If you filter on, say, extensions, or printer, then the ones which are not native Firefox preference but were generated based on an extension or discovery of a printer, should all have trash cans.

more options

See also your other thread about chase.com

more options

Thanks! I did not notice the trash can icons in about:config. I can clean up some stuff that way.

Cheers

more options

선택된 해결법

I have not created and migrated to an entirely new profile (at least not yet) as that seems too much of a struggle at this point. However, I did use the new trash can icon in about:config to cleanly delete a number of ancient entries (which I could multi-select and then hit the trash can once) and that alone was gratifying. In doing this I was also able to ID a number of files and folders in my profile that were tied to old addons/FF versions and removed them as well. Even bookmarks.html. So I feel better having done at least some house cleaning. Thanks!