cookies.SameSiteStatus
The SameSiteStatus type of the cookies API represents information about the SameSite state of a cookie.
The `SameSiteStatus` type of the cookies API represents information about the `SameSite` state of a cookie.
## Type
Values of this type are strings. Possible values are:
- `no_restriction`
- : Corresponds to a cookie set with `SameSite=None`.
- `lax`
- : Corresponds to a cookie set with `SameSite=Lax`.
- `strict`
- : Corresponds to a cookie set with `SameSite=Strict`.
- `unspecified`
- : Corresponds to a cookie set without the `SameSite` attribute. This state is not part of any SameSite standard, and is only supported by browsers that store this state internally. Other browsers map the absence of the SameSite flag to the default state (e.g., Lax). See the browser compatibility table for more details.
See [SameSite cookies](/docs/Web/HTTP/Guides/Cookies#controlling_third-party_cookies_with_samesite) for more information.
## Browser compatibility
Cite this
"cookies.SameSiteStatus". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/cookies/SameSiteStatus JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy