I am making a .html file that is meant to be open locally, therefore not accessed via http:// but via file:///
Firefox rejects the cookie I try to create in javascript, saying there is already a cookie HTTP-Only:
document.cookie = cname + "=" + cvalue + ";expires=Fri, 31 Dec 9999 23:59:59 GMT;path=/;HttpOnly;SameSite=Strict;";
Is there a way to use cookies for a local page ?