NPAPI:ClearSiteData: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
Allow browsers to request that plugins clear locally stored private data.
Allow browsers to request that plugins clear locally stored private data.


=== Type of Data ===
= Proposal  =
 
Flags:
 
* things the user enters, except for credentials (form data)
 
* credentials
 
* things cached by the UA (pages, preview images, icons)
 
* local data stored by the server / web application (cookies, HTML5 local storage, Flash/Silverlight local storage)
 
* history information (bookmarks, visited URIs)
 
* settings specific to a site (for instance, preferences with respect to privacy, script disabling...)
 
=== Time range ===
 
Several UAs offer to restrict the clear operation to a time range such as "today" or "last week".
 
In the API, this can be exposed as "last N minutes", or something like that.
 
We need to allow plugins to signal that they can't clear by time range, though.
 
(Return code, plus discoverability beforehand?)
 
=== Site/URI ===
 
Firefox supports "forget about this site". Other UAs do not appear to support this.
 
Should it be part of the API? If so, what format?
 
= Current Proposal  =


*Last modified: Nov 19, 2010  
*Last modified: Nov 19, 2010  
Line 131: Line 99:
| yes (context menu in history) || ?? || ?? || ?? || ??
| yes (context menu in history) || ?? || ?? || ?? || ??
|}
|}
=== Type of Data ===
Flags:
* things the user enters, except for credentials (form data)
* credentials
* things cached by the UA (pages, preview images, icons)
* local data stored by the server / web application (cookies, HTML5 local storage, Flash/Silverlight local storage)
* history information (bookmarks, visited URIs)
* settings specific to a site (for instance, preferences with respect to privacy, script disabling...)
=== Time range ===
Several UAs offer to restrict the clear operation to a time range such as "today" or "last week".
In the API, this can be exposed as "last N minutes", or something like that.
We need to allow plugins to signal that they can't clear by time range, though.
(Return code, plus discoverability beforehand?)
=== Site/URI ===
Firefox supports "forget about this site". Other UAs do not appear to support this.
Should it be part of the API? If so, what format?


== Existing Discussion and Documentation ==
== Existing Discussion and Documentation ==
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu