Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Cookie exceptions disappear on exit

  • 3 个回答
  • 1 人有此问题
  • 89 次查看
  • 最后回复者为 cor-el

more options

Been happily using firefox for months now with same privacy settings:

History:

- Use custom settings
- Clear history when firefox closes -> settings: all except cookies checked

Cookies and Site Data:

- Accept cookies, Keep until Firefox is close
- In Exceptions I've got bunch of sites with allowed cookies

So, normally all cookies except allowed ones have been cleared on firefox exit. But now for some reason cookie exceptions list disappears on exit.

Something I've already tried:

- It happens when all extensions are disabled
- deleted permissions.sqlite

Any ideas?

Been happily using firefox for months now with same privacy settings: History: - Use custom settings - Clear history when firefox closes -> settings: all except cookies checked Cookies and Site Data: - Accept cookies, Keep until Firefox is close - In Exceptions I've got bunch of sites with allowed cookies So, normally all cookies except allowed ones have been cleared on firefox exit. But now for some reason cookie exceptions list disappears on exit. Something I've already tried: - It happens when all extensions are disabled - deleted permissions.sqlite Any ideas?

被采纳的解决方案

You need to exclude the Site Preferences if you want to keep the exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data

You can set network.cookie.thirdparty.sessionOnly to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.

定位到答案原位置 👍 0

所有回复 (3)

more options

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

Don't have such tools. Using SQLite browser I can see that exception is stored to moz_perms table but when i exit it immediately disappears.

more options

选择的解决方案

You need to exclude the Site Preferences if you want to keep the exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data

You can set network.cookie.thirdparty.sessionOnly to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.