Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

About profile file functions (permissions.sqlite etc.)

  • 10 risposte
  • 2 hanno questo problema
  • 300 visualizzazioni
  • Ultima risposta di cor-el

more options

http://kb.mozillazine.org/Profile_folder_-_Firefox

permissions.sqlite

reading-list.sqlite

search-metadata.json

times.json

Okay I know most of them are explained in the kb article linked above but not all. I was wondering if anyone knows what each one does and what are the effects of deleting them in the process. Since Firefox won't remove obsolete/replaced with/superseded files, I have to do this manually to clean up the bloat with certain versions. That and some of them haven't been updated in awhile or so so I question its current stance to keep it in the folder.

http://kb.mozillazine.org/Profile_folder_-_Firefox permissions.sqlite reading-list.sqlite search-metadata.json times.json Okay I know most of them are explained in the kb article linked above but not all. I was wondering if anyone knows what each one does and what are the effects of deleting them in the process. Since Firefox won't remove obsolete/replaced with/superseded files, I have to do this manually to clean up the bloat with certain versions. That and some of them haven't been updated in awhile or so so I question its current stance to keep it in the folder.

Modificato da Morisato il

Soluzione scelta

search-metadata.json stores additional data for the search engine like a keyword (alias) and their order and whether they are enabled.

You can open JSON files in the Scratchpad (Firefox menu button or Tools > Web Developer) for inspection. Click the "Pretty Print" button to format the file for readability.

You can use the SQLite Manager extension in Firefox to inspect SQLite database files.

permissions.sqlite stores site specific permissions (Site Preferences) as you can see by its name.

You can inspect and manage permissions for the domain in the currently selected tab via these steps:

  • click the "Site Identity Button" (globe/padlock) on the location/address bar
  • click "More Information" to open "Tools > Page Info" with the Security tab selected

Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab.

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (10)

more options

New files should over-write older files automatically. Are you saying this is not happening?

Start Firefox in Safe Mode {web Link} by holding down the <Shift>
(Mac Options)
key, and then starting Firefox. Is the problem still there?

more options

Sorry, I forgot to add;

https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Note: Some software, like Advanced SystemCare with Surfing Protection, can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

more options

Soluzione scelta

search-metadata.json stores additional data for the search engine like a keyword (alias) and their order and whether they are enabled.

You can open JSON files in the Scratchpad (Firefox menu button or Tools > Web Developer) for inspection. Click the "Pretty Print" button to format the file for readability.

You can use the SQLite Manager extension in Firefox to inspect SQLite database files.

permissions.sqlite stores site specific permissions (Site Preferences) as you can see by its name.

You can inspect and manage permissions for the domain in the currently selected tab via these steps:

  • click the "Site Identity Button" (globe/padlock) on the location/address bar
  • click "More Information" to open "Tools > Page Info" with the Security tab selected

Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab.

Modificato da cor-el il

more options

FredMcD said

New files should over-write older files automatically. Are you saying this is not happening? Start Firefox in Safe Mode {web Link} by holding down the <Shift>
(Mac Options)
key, and then starting Firefox. Is the problem still there?

Nothing to do with that. Just wondering what each of the files listed above do and what happens when you delete it and open firefox again. For instance, localstore.rdf was replaced by xulstore.json so I just deleted localstore.rdf since it had not been updated/used by firefox in awhile.

more options

cor-el said

search-metadata.json stores additional data for the search engine like a keyword (alias) and their order and whether they are enabled. You can open JSON files in the Scratchpad (Firefox menu button or Tools > Web Developer) for inspection. Click the "Pretty Print" button to format the file for readability. You can use the SQLite Manager extension in Firefox to inspect SQLite database files. permissions.sqlite stores site specific permissions (Site Preferences) as you can see by its name. You can inspect and manage permissions for the domain in the currently selected tab via these steps:
  • click the "Site Identity Button" (globe/padlock) on the location/address bar
  • click "More Information" to open "Tools > Page Info" with the Security tab selected
Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab.

Great explanation. Exactly what I was looking for. Do you know about the other 2?

reading-list.sqlite times.json

Can I delete them and it won't affect Fx functionality (unless it gets auto-generated again).

I also would like to add 'revocations.txt' to the list of what it does it do as well. Seems I can delete this and it will recreate it but there isn't much of it through google.

more options

I don't think that reading-list is currently enabled (browser.readinglist.enabled = false), but I'm not using this feature.

A file like extensions.sqlite (and extensions.rdf previously) has also been replaced by a JSON file, just like happened with localstore.rdf

See also:

more options

cor-el said

I don't think that reading-list is currently enabled (browser.readinglist.enabled = false), but I'm not using this feature. A file like extensions.sqlite (and extensions.rdf previously) has also been replaced by a JSON file, just like happened with localstore.rdf See also:

Ah, alright. I see what it does now. I also already linked the link you linked on my first post fyi. I searched there and googled a bit before posting here.

Even though extensions.sqlite has been replaced by a JSON file like you said, seems some extensions still access it since the last access time on it for me was 2 months ago so I kept it just in case.

Now, about that last file I mentioned (times.json). It seems to be created when you make a new profile or something. Can I delete it? Won't affect profile recovery or anything right? Access date dates back to 2013 so it seems redundant (at least for me it does). Only has one line inside {"created":12962690xxxx} in case it's used for something...

Found an old post of yours last year though it doesn't really answer much for what I was searching for anyway.

https://support.mozilla.org/en-US/questions/999018

more options

Modificato da cor-el il

more options

Thanks for all the help there cor-el. Useful info/links. Before I mark this as solved, my last question is about the revocations.txt. This auto-regenerates after deletion right? It is tied in anyway to the certificates? I know cert8.db contains them and cert_overide.txt has the permanent exclusions.

Update: Ah nvm. It regenerated after removal from profile folder.

Modificato da Morisato il

more options

Two test files come up in the search. Maybe that gives an idea what this file is about.