搜尋 Mozilla 技術支援網站

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

Learn More

My list of exceptions is being deleted

  • 6 回覆
  • 4 有這個問題
  • 6 次檢視
  • 最近回覆由 P24Guser

more options

Each time I put my computer to sleep or quit Firefox, my list of sites for which cookies are to be blocked or allowed (Exceptions) gets deleted. What do I need to do to to keep this list?

Each time I put my computer to sleep or quit Firefox, my list of sites for which cookies are to be blocked or allowed (Exceptions) gets deleted. What do I need to do to to keep this list?

由 VortexBoy 於 修改

所有回覆 (6)

more options

The file "permissions.sqlite" stores 'allow' and 'block' exceptions for cookies, images, pop-up windows, and extensions (software) installation.

Rename the file "permissions.sqlite" to permissions.sqlite.sav in the Firefox Profile Folder in case the file is corrupted.

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder

This will remove all exceptions (cookies, images, pop-ups, software).
If renaming didn't help then you can undo and rename the file permissions.sqlite.sav to permissions.sqlite to get back the old exceptions.

more options

I'm sorry I don't understand your reply. If renaming this file will remove all exceptions, how does this help me? I want to retain the exceptions not remove them, which is what is happening now each I quit). Also, if I undo the renaming of the file, then I will be back to where I was before, which was that the exceptions are being deleted anyway each time I quit FF.

more options

Also, where is this file located? Your path doesn't make sense to me. I can't find any folder called Profile directory or Help.

more options

See:

If there is a problem with the file and the exceptions aren't saved then deleting the file permissions.sqlite will cause Firefox create a new copy that hopefully works better.

more options

I have renamed the file as you suggested above. The list of block and allow sites in the Privacy area of preferences are still being deleted.

more options

I had a similar problem, but mine was the exception list for blocked images. This exception list is also stored in the profile permissions.sqlite file. I finally figured out this was being cleared because I had set my privacy settings to clear site settings on shutdown.

To change this, go to Tools->Options-> Privacy Tab. If your problem is the same as mine, on this tab you will have the "Clear history when Firefox closes" box checked. Then click the "Settings" button, and in the pop-up under the data section, un-check the "Site Preferences" box.