搜索 | 用户支持

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

详细了解

Is it possible to Clear data but keep cookies?

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

more options

Hi

I want to clear data but the only option FF is offering is with cookies. I want to delete all but cookies.

Image: https://imgur.com/jwLXxFx

Here it only says Cookies AND Site Data. But I want Site Data without Cookies. Can I somehow manually delete those files? Or manually selectively empty some tables in SQLite databases that FF uses? If yes then what files/databases exactly?

Hi I want to clear data but the only option FF is offering is with cookies. I want to delete all but cookies. Image: https://imgur.com/jwLXxFx Here it only says Cookies AND Site Data. But I want Site Data without Cookies. Can I somehow manually delete those files? Or manually selectively empty some tables in SQLite databases that FF uses? If yes then what files/databases exactly?

所有回复 (3)

more options

You can use "Clear Recent History" to specify what data to clear.

  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data

Cookies are stored in cookies.sqlite in the Firefox profile folder, so you can possibly keep a backup if you find cookies important.

more options

Thanks!

In clear recent history, what is the difference between Cookies and Active Logins? Aren't logins also just cookies?

more options

There are two ways to authenticate to make a website recognize that you have logged in. One is to store a session ID in a cookie which is send with every request to the server. This is normally used when you login to a website. Another way to authenticate is via Basic HTTP Authentication and this is what Active Logins are about, this is used by FTP servers and other servers use this method to authenticate.

So both are different and shouldn't be confused.


Detail like websites remembering you and log you in automatically is stored in cookies, so make sure you aren't clearing important cookies.

You can use these steps to make a website recognize and remember you.

  • create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception
    in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies

Make sure to keep the "Site settings".

  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions"
  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history":
    [X] "Clear history when Firefox closes" -> Settings