We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Is there a way to clear cookies when browser is closed and still keep logged in websites like youtube, facebook, twiter...?

more options

I love the ability to see and manage each cookie that is stored while browsing. But every time I close Firefox I get automatically logged out from sites such as facebook, youtube, twiter... I've been trying out changing the settings and figured that I have to choose to either delete cookies and get automatically logged out or keep my sessions logged but not erasing cookies whenever I close Firefox.

My question is, is there a way to keep erasing cookies but keep the ones that make me stay logged in those websites?

I love the ability to see and manage each cookie that is stored while browsing. But every time I close Firefox I get automatically logged out from sites such as facebook, youtube, twiter... I've been trying out changing the settings and figured that I have to choose to either delete cookies and get automatically logged out or keep my sessions logged but not erasing cookies whenever I close Firefox. My question is, is there a way to keep erasing cookies but keep the ones that make me stay logged in those websites?

所有回复 (3)

more options

Your ‘logged-in’ status is stored in special cookies. If the cookie is removed, you are logged out.

Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

Note: Active Logins are the special cookies.

more options

You need to use "Delete cookies and site data when Firefox is closed" to let cookies expire automatically in case you want to keep cookies with an allow exception. If you use "Clear history when Firefox closes" then all cookies are cleared regardless of an exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data
  • clearing "Cookies" will remove all selected cookies including cookies with an Allow exception you may want to keep

由cor-el于修改

more options

Here's a picture to go with the first part of cor-el's reply: