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!

Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

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

Остерігайтеся нападів зловмисників. 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!