I Didn’t know saves could be cookies.
I'm relatively inexperienced with HTML game development, but as far as I know, saves can only be cookies.
Nowadays most games are using LocalStorage, although that tends to be cleared at the same time as cookies