為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

I need to selectively keep cookies from certain sites. IE can do that, can Firefox?

  • 2 回覆
  • 18 有這個問題
  • 5 次檢視
  • 最近回覆由 James

more options

Some sites have new validation procedures where they display a picture on the log in page. The picture is stored sometimes as a cookie on the particular machine (Yahoo does this). I have my security settings to delete all cookies on exit so the saved security cookie is deleted. I want to selectively tell Firefox to not delete this cookie but still delete all other ones. Can this be done?

Some sites have new validation procedures where they display a picture on the log in page. The picture is stored sometimes as a cookie on the particular machine (Yahoo does this). I have my security settings to delete all cookies on exit so the saved security cookie is deleted. I want to selectively tell Firefox to not delete this cookie but still delete all other ones. Can this be done?

被選擇的解決方法

  • Let all cookies expire when you close Firefox.
  • Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"
  • Make an Allow exception for the ones that you want to keep.
  • Tools > Options > Privacy > Cookies: "Exceptions"

You can inspect and modify the permissions for the domain in the current tab in "Tools > Page Info > Permissions"

Make sure that you do not use Delete browsing, search and download history on Firefox to clear the "Cookies" and the "Site Preferences" (Site Preferences includes the cookie exceptions)

Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception.

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

  • Let all cookies expire when you close Firefox.
  • Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"
  • Make an Allow exception for the ones that you want to keep.
  • Tools > Options > Privacy > Cookies: "Exceptions"

You can inspect and modify the permissions for the domain in the current tab in "Tools > Page Info > Permissions"

Make sure that you do not use Delete browsing, search and download history on Firefox to clear the "Cookies" and the "Site Preferences" (Site Preferences includes the cookie exceptions)

Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception.

more options

Thank you cor-el. There was one other thing I had to do. Must uncheck cookies and site preferences in "Clear history when Firefox closes." and "Clear recent history." To make this work for Yahoo I had to allow cookies from yahoo.com and yahoo.net.