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!

搜索 | 用户支持

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

详细了解

What line can I add to prefs.js (firefox v22) ensure that 3rd party cookies are allowed?

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

more options

I'm running a program with selenium and it was working fine, then I updated to firefox version 22 and now its throwing my error saying 3rd party cookies need to be enabled. Is there a line of code I can add to prefs.js in order to ensure that 3rd party cookies are enabled?

I'm running a program with selenium and it was working fine, then I updated to firefox version 22 and now its throwing my error saying 3rd party cookies need to be enabled. Is there a line of code I can add to prefs.js in order to ensure that 3rd party cookies are enabled?

被采纳的解决方案

Note that current Firefox releases have a new setting to accept third-party cookie from sites that you have visited before.

  • Always : network.cookie.cookieBehavior = 0
  • Never  : network.cookie.cookieBehavior = 1
  • Visited: network.cookie.cookieBehavior = 3
  • Block all cookies: network.cookie.cookieBehavior = 2
定位到答案原位置 👍 0

所有回复 (2)

more options

user_pref("network.cookie.cookieBehavior", 0);

Note: That is the default in Firefox 22.

由jscher2000 - Support Volunteer于修改

more options

选择的解决方案

Note that current Firefox releases have a new setting to accept third-party cookie from sites that you have visited before.

  • Always : network.cookie.cookieBehavior = 0
  • Never  : network.cookie.cookieBehavior = 1
  • Visited: network.cookie.cookieBehavior = 3
  • Block all cookies: network.cookie.cookieBehavior = 2