MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/d6d7ff2e2f9c

JohanAndersson

Member since
JohanAndersson

Recent Docs Activity

View all activity
Page Date Comment

Document.cookie


Added some documentation to changes in script

Document.cookie


To delete cookies that span over subdomains, we need the domain attribute in removeItem as well as setItem. I also changed the depracted escape and unescape to encodeUri and decodeUri.

Document.cookie