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

搜索 | 用户支持

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

详细了解

how do I allow permanent cookies for a website

more options

A games site that I like requires an activation code to get in, but after a certain number of uses of the activation code, the code becomes invalid and I can't get in. The site uses permanent cookies to get past the activation code requirement (a bookmark won't do it). How do I allow permanent cookies for this one particular site? I don't want to disable tracking on any other site, just this one. Thanks! Kathy

A games site that I like requires an activation code to get in, but after a certain number of uses of the activation code, the code becomes invalid and I can't get in. The site uses permanent cookies to get past the activation code requirement (a bookmark won't do it). How do I allow permanent cookies for this one particular site? I don't want to disable tracking on any other site, just this one. Thanks! Kathy

所有回复 (1)

more options

Hi Kathy, what are your current settings related to cookies? There are several different sections that could be affecting sites:

(1) Enhanced Tracking Protection => Custom

I haven't tested whether these are compatible with exceptions:

  • From visited
  • All third-party cookies
  • All cookies

(2) Cookies and Site Data

This is okay if you create exceptions:

[x] Delete cookies and site data when Firefox is closed

(3) History

Avoid these settings if you want to keep cookies for future sessions:

  • Firefox will never remember history (causes automatic private browsing)
  • Firefox will use custom settings for history + "Always use private browsing mode"
  • Firefox will use custom settings for history + "Clear history when Firefox closes" + Settings button has Cookies selected (does NOT honor exceptions)

- - - -

The easiest way to make an exception for a site is to use the Page Info dialog. While you are on the relevant page, you can call that up using either:

  • Ctrl+i
  • right-click a blank area of the page > View Page Info
  • (menu bar) Tools > Page Info

When the dialog comes up, click the Permission icon at the top to show that panel.

Cookies - Scroll down to "Set Cookies" and uncheck the "Use default" box, and then select Allow to let the site set persistent cookies.

Does that work? (Note that if the site already set a session cookie, this may not automatically extend its life, the site needs to try setting a persistent cookie again.)

After permissions are set, the site should appear on the Options/Preferences page, in the Cookies and Site Data section, when you click "Manage Permissions".