CookieManager1.0.1

back

Commands

Events

This service can enumerate and remove cookies for a certain domain.

It can currently not add cookies, but this can be achieved through ECMAScript (document.cookie).

Changelog: 1.0 - First release 1.0.1 - Fixed a bug in RemoveCookie where it would remove all cookies, not just in the specified domain.

GetCookie

Retrieve a list of cookies for a given domain.

@param domain Name of domain to look for, e.g. "opera.com" @param path Limit cookie list to specified path or subpath.

command GetCookie(GetCookieArg)
{
}
returns (CookieList)
{
}
= 1;

GetCookieSettings

Get global settings regarding the allowed number of cookies, and the max allowed length a cookie.

command GetCookieSettings(Default)
{
}
returns (CookieSettings)
{
}
= 4;

RemoveAllCookies

Removes all cookies.

command RemoveAllCookies(Default)
{
}
returns (Default)
{
}
= 3;

RemoveCookie

Removes selected cookies or all cookies in a domain.

@param domain Name of domain to remove cookies from, e.g. "opera.com" @param path If specified only removes cookies from specified path or subpath. @param name Name of cookie to remove, if unspecified removes all cookies matching domain/path.

command RemoveCookie(RemoveCookieArg)
{
}
returns (Default)
{
}
= 2;