Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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