This blog uses responsible cookies for functionality and user preferences.
Google Analytics is used for collecting general public information to understand how my blog is used.
Learn moreScript Title: cookies
Programming Language: Java Script
Date Completed: 2013/04/23
Purpose: Easily access and manage Cookies with Java Script.
Description: Access and manage Cookies with Java Script though an easy to use API.
Compatibility: Works with all modern Web browsers.
Methods:
cookies.has ( name_s )
Function to scan the cookie jar for a cookie.
Returns true or false, returns undefined if the input is not a string.cookies.get ( name_s )
Function to fetch and return the value of a cookie.
Returns the value of the cookie as a string, returns undefined if no cookie is found.cookies.set ( name_s, value_s, expire_date, domain_s, path_s, secure_b )
Function to set the value or create a cookie.
Return true or false if successful.cookies.remove ( name_s )
Function to remove a cookie from the jar.
cookies.jar ()
Function to list and view all cookies in the jar.
Returns an array.cookies.count ()
Function to count the number of cookies in the jar.
Returns a number.cookies.size ()
Function to calculate the bytes of data currently used in the jar.
Returns a number measured in bytes.cookies.freeSpace ()
Function to calculate the bytes of data still available in the jar.
Returns a number measured in bytes.cookies.totalSpace ()
Function to return the value 4096 as the total amount of bytes for the jar.
Returns the number 4096.cookies.crumbsToArray ( cookie_s )
Function to convert a multiple value cookie into an array.
Returns an array up to two dimensions.cookies.arrayToCrumbs ( array_a )
Function to convert an array of up to two dimensions into a multiple value cookie.
Returns a string, or undefined if the input is not an array.
Terms of Use, Cookies, Privacy, and more, see Terms and Privacy
Third-party copyrights and trademarks featured on this site are owned by their respected holders.
Website written and designed by Patcoola 2019, some rights reserved.
This blog uses responsible cookies for functionality and user preferences.
Google Analytics is used for collecting general public information to understand how my blog is used.
Learn moreDear EU visitor, I am required to ask you consent for the following.