Skip to content

LegacySameSiteCookieBehaviorEnabledForDomainList

Revert to legacy SameSite behavior for cookies on specified sites.

If this policy is set to true, cookies set for domains in this list will revert to legacy SameSite behavior which means that cookies that don't explicitly specify a SameSite attribute are treated as if they were SameSite=None.

FirefoxFirefox ESRFirefox Enterprise
Available since 76Available since 78Available since 149

CCK2 Equivalent: N/A
OMA-URI: LegacySameSiteCookieBehaviorEnabledForDomainList
Preferences Affected: network.cookie.sameSite.laxByDefault.disabledHosts

policies.json
{
"policies": {
"LegacySameSiteCookieBehaviorEnabledForDomainList": [
"example.org",
"example.edu"
]
}
}
JSON schema
LegacySameSiteCookieBehaviorEnabledForDomainList JSON schema
{
"type": "array",
"items": {
"type": "string"
}
}
Software\Policies\Mozilla\Firefox\LegacySameSiteCookieBehaviorEnabledForDomainList\1 = "example.org"
Software\Policies\Mozilla\Firefox\LegacySameSiteCookieBehaviorEnabledForDomainList\2 = "example.edu"
<dict>
<key>LegacySameSiteCookieBehaviorEnabledForDomainList</key>
<array>
<string>example.org</string>
<string>example.edu</string>
</array>
</dict>