Changes

Jump to: navigation, search

NPAPI:ClearSiteData

740 bytes added, 19:58, 23 November 2010
Add flag definitions
Semantics:
*<code>flags</code> is a bitset representing which type(s) of data to clear; .<codepre>#define NP_CLEAR_ALL 0 /* Clear All data */#define NP_CLEAR_COOKIES 1 << 0 /* Clear cookies */#define NP_CLEAR_SITE_PREFS 1 << 1 /* Clear site preferences */#define NP_CLEAR_BROWSING_HISTORY 1 << 2 /* Clear browsing history */#define NP_CLEAR_DOWNLOAD_HISTORY 1 << 3 /* Clear download history */#define NP_CLEAR_FORM_HISTORY 1 << 4 /* Clear form and search history */#define NP_CLEAR_CACHE 1 << 5 /code* Clear cache */#define NP_CLEAR_PASSWORDS 1 << 6 /* Clear saved passwords */#define NP_CLEAR_LOGINS 1 << 7 /* Clear active logins */#define NP_CLEAR_PLUGIN_STORAGE 1 << 8 /* Clear plugin local storage */</pre> means "clear all types". *The <code>domainorigin</code> argument is interpreted as follows:
**if a hostname of the form "foo.com", data in the "foo.com" domain and all subdomains should be cleared. In this form, <code>domain</code> must be a normalized ACE-encoded hostname, lowercased; must not contain a trailing dot; must not contain scheme, port, or other such fields; and must contain at least one embedded dot;
**if an IP address (either IPv4 or IPv6), data for that IP should be cleared;
70
edits

Navigation menu