The DP_Cookies script creates a global object which provides the developer with simple, abstracted client-side management of browser cookies.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
DP_Cookies.js
README.md

README.md

DP_Cookies

The DP_Cookies script creates a global object which provides the developer with simple, abstracted client-side management of browser cookies.

  • The script supports the original cookie specification which is in common use.
  • The object provides methods to get, set and erase (delete) cookies by name.
  • The object provides methods to erase or return (as a JavaScript object) all available cookies as a set.

The extension is self-contained and presents an extremely small footprint. Only a single global object, "DP_Cookies", is created.

This component requires a JavaScript (ECMAScript) 1.3 (or better) development environment and has been tested successfully on Internet Explorer 6+, Firefox 1+ and Opera 9+.

Copyright (c) 1996-2013, The Depressed Press (depressedpress.com)
All rights reserved.
Covered under the BSD Open Source License (included in the code). Full legal information here: http://depressedpress.com/about/source-code-policy/