Retrieves one or more cookies.This function is valid in v2.13.2 to v2.20.0. This function has been downloaded 23 times.
nullis supplied that means all cookies should be retrieved.
namewas a string but the corresponding cookie doesn't exist.
nameis a string and matches the name of a cookie, that cookie's value will be returned as a string. If
nameis a string but doesn't match the name of a cookie
opt_defaultValuewill be returned. If
nameis of type
RegExpan object containing all of the cookies with names that match the specified regular expression will be returned. If
nullan object containing all of the cookies will be returned. If an object is returned each key will represent the name of each cookie and each value will be the value of that cookie.
This function requires the following function which is included automatically: