搜索 | 用户支持

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

Learn More

Save passwords and bookmarks when clear cookies

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

more options

Is there a way to clear cookies without losing saved passwords/logins and without losing saved bookmarks and bookmark tab at top of page?

Is there a way to clear cookies without losing saved passwords/logins and without losing saved bookmarks and bookmark tab at top of page?

所有回复 (2)

more options

Clear recent history (History menu or ctl+shft+del) enables you to remove cookies and keep logins. Deleting data has, it seems, been made more complicated with version 102 but I am still looking into that.

https://support.mozilla.org/en-US/kb/clear-cookies-and-site-data-firefox

more options

Note that there is a difference between logins (logins.json and key4.db) and session cookies that website use to login and remember you. You normally can't remove logins when you close Firefox, but you can remove or let expire cookies including the session cookies what will cause a website to forger about you and requires to login again on the next visit.


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" keeps cookies with an allow exception
  • using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
  • clearing "Site Preferences" 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