Relative Content

Tag Archive for javascriptcookies

Setting cookie expiration time

I’m using this code to generate a cookie named LIDR to save the parameter ?lider=XXX But Chrome Devtool says that this cookie expire in session :-/

My cookies are not expiring. JavaScript problem

I am trying to learn cookies in js but the name=value pairs aren’t disappearing from console when I set a well past due expiration date. I think it is something to do with the error code with the CSP. Does anybody know how to fix?

play.google badge url adds 18 cookies?

Im adding a button with the google play badge image that I have generated using their own tool. But when I do so it adds 18 different cookies. I can’t figure out why.
When I run Lighthouse it complains about the use of 3rd party cookies.
When I remove below code and refresh the page all of the below 18 cookies go away.