Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

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