- 1 Export JSON from Chrome
CookieMan JSON Array includes
sameSiteaslax,strict,no_restrictionorunspecified. - 2 Prove the loss in the converter
Paste JSON, output Netscape, copy the file, paste it back with output JSON. The objects no longer have a useful SameSite.
- 3 Keep JSON for Chrome, Netscape for curl
If the next hop is CookieMan Import, never pass through Netscape. If the next hop is curl, the loss does not matter on the CLI.
How CookieMan stores SameSite
| On the wire / in UI | JSON sameSite | After Netscape round-trip |
|---|---|---|
| Lax | lax | unspecified |
| Strict | strict | unspecified |
| None | no_restriction | unspecified |
| (browser default) | unspecified | unspecified |
SameSite=None still requires Secure when you import JSON into Chrome. Netscape cannot record either fact together. See SameSite=None without Secure. What cookies.txt cannot do
- Store SameSite.
- Store CHIPS partition keys.
- Store an HttpOnly flag except via the
#HttpOnly_prefix hack. - Store millisecond precision — timestamps are Unix seconds.
{
"name": "session_id",
"sameSite": "no_restriction",
"secure": true
}
# Netscape export has no place for no_restriction