| Index: chrome/common/extensions/docs/experimental.browsingData.html
|
| diff --git a/chrome/common/extensions/docs/experimental.browsingData.html b/chrome/common/extensions/docs/experimental.browsingData.html
|
| index d6124cd77754435f1e55de7db44920f6004e8e91..85d38c8aedd947eb549dc8616e65f32b2c60cc32 100644
|
| --- a/chrome/common/extensions/docs/experimental.browsingData.html
|
| +++ b/chrome/common/extensions/docs/experimental.browsingData.html
|
| @@ -16,7 +16,7 @@
|
| <script type="text/javascript" src="js/api_page_generator.js"></script>
|
| <script type="text/javascript" src="js/bootstrap.js"></script>
|
| <script type="text/javascript" src="js/sidebar.js"></script>
|
| - <meta name="description" content="Documentation for the chrome.experimental.browsingData module, which is part of the Google Chrome extension APIs."><title>BrowsingData API - Google Chrome Extensions - Google Code</title></head>
|
| + <title>experimental.browsingData - Google Chrome Extensions - Google Code</title></head>
|
| <body> <div id="devModeWarning" class="displayModeWarning">
|
| You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
|
| </div>
|
| @@ -183,1658 +183,23 @@
|
| </script>
|
| <div class="g-unit" id="gc-pagecontent">
|
| <div id="pageTitle">
|
| - <h1 class="page_title">BrowsingData API</h1>
|
| + <h1 class="page_title">experimental.browsingData</h1>
|
| </div>
|
| <!-- TABLE OF CONTENTS -->
|
| - <div id="toc">
|
| - <h2>Contents</h2>
|
| - <ol>
|
| - <li>
|
| - <a href="#manifest">Manifest</a>
|
| - <ol>
|
| - </ol>
|
| - </li><li>
|
| - <a href="#usage">Usage</a>
|
| - <ol>
|
| - </ol>
|
| - </li><li>
|
| - <a href="#samples">Examples</a>
|
| - <ol>
|
| - </ol>
|
| - </li>
|
| - <li>
|
| - <a href="#apiReference">API reference: chrome.experimental.browsingData</a>
|
| - <ol>
|
| - <li>
|
| - <a href="#global-methods">Methods</a>
|
| - <ol>
|
| - <li>
|
| - <a href="#method-remove">remove</a>
|
| - </li><li>
|
| - <a href="#method-removeAppcache">removeAppcache</a>
|
| - </li><li>
|
| - <a href="#method-removeCache">removeCache</a>
|
| - </li><li>
|
| - <a href="#method-removeCookies">removeCookies</a>
|
| - </li><li>
|
| - <a href="#method-removeDownloads">removeDownloads</a>
|
| - </li><li>
|
| - <a href="#method-removeFileSystems">removeFileSystems</a>
|
| - </li><li>
|
| - <a href="#method-removeFormData">removeFormData</a>
|
| - </li><li>
|
| - <a href="#method-removeHistory">removeHistory</a>
|
| - </li><li>
|
| - <a href="#method-removeIndexedDB">removeIndexedDB</a>
|
| - </li><li>
|
| - <a href="#method-removeLocalStorage">removeLocalStorage</a>
|
| - </li><li>
|
| - <a href="#method-removePasswords">removePasswords</a>
|
| - </li><li>
|
| - <a href="#method-removePluginData">removePluginData</a>
|
| - </li><li>
|
| - <a href="#method-removeWebSQL">removeWebSQL</a>
|
| - </li>
|
| - </ol>
|
| - </li>
|
| - <li>
|
| - <a href="#types">Types</a>
|
| - <ol>
|
| - <li>
|
| - <a href="#type-RemovalOptions">RemovalOptions</a>
|
| - <ol>
|
| - </ol>
|
| - </li>
|
| - </ol>
|
| - </li>
|
| - </ol>
|
| - </li>
|
| - </ol>
|
| - </div>
|
| <!-- /TABLE OF CONTENTS -->
|
| <!-- Standard content lead-in for experimental API pages -->
|
| <!-- STATIC CONTENT PLACEHOLDER -->
|
| - <div id="static"><div id="pageData-name" class="pageData">BrowsingData API</div>
|
| -<!-- BEGIN AUTHORED CONTENT -->
|
| -<p id="classSummary">
|
| - Use the <code>chrome.experimental.browsingData</code> module to remove
|
| - browsing data from a user's local profile. This module is still experimental.
|
| - For more information regarding the usage of experimental APIs, see the
|
| - <a href="experimental.html">chrome.experimental.* APIs</a> page.
|
| -</p>
|
| -<h2 id="manifest">Manifest</h2>
|
| -<p>
|
| - You must declare the "clear" permission in the
|
| - <a href="manifest.html">extension manifest</a> to use this API. As the API is
|
| - still experimental, you must declare the "experimental" permisson as well.
|
| -</p>
|
| -<pre>{
|
| - "name": "My extension",
|
| - ...
|
| - <b>"permissions": [
|
| - "browsingData",
|
| - "experimental"
|
| - ]</b>,
|
| - ...
|
| -}</pre>
|
| -<h2 id="usage">Usage</h2>
|
| -<p>
|
| - The simplest use-case for this API is a a time-based mechanism for clearing a
|
| - user's browsing data. Your code should provide a timestamp which indicates the
|
| - historical date after which the user's browsing data should be removed. This
|
| - timestamp is formatted as the number of milliseconds since the Unix epoch
|
| - (which can be retrieved from a JavaScript <code>Date</code> object via the
|
| - <code>getTime</code> method).
|
| -</p>
|
| -<p>
|
| - For example, to clear all of a user's browsing data from the last week, you
|
| - might write code as follows:
|
| -</p>
|
| -<pre>var callback = function () {
|
| - // Do something clever here once data has been removed.
|
| -};
|
| -var millisecondsPerWeek = 1000 * 60 * 60 * 24 * 7;
|
| -var oneWeekAgo = (new Date()).getTime() - millisecondsPerWeek;
|
| -chrome.experimental.browsingData.remove({
|
| - "since": oneWeekAgo
|
| -}, {
|
| - "appcache": true,
|
| - "cache": true,
|
| - "cookies": true,
|
| - "downloads": true,
|
| - "fileSystems": true,
|
| - "formData": true,
|
| - "history": true,
|
| - "indexedDB": true,
|
| - "localStorage": true,
|
| - "pluginData": true,
|
| - "passwords": true,
|
| - "webSQL": true
|
| -}, callback);</pre>
|
| -<p>
|
| - The <code>chrome.experimental.browsingData.remove</code> method allows you to
|
| - remove various types of browsing data with a single call, and will be much
|
| - faster than calling multiple more specific methods. If, however, you only
|
| - want to clear one specific type of browsing data (cookies, for example), the
|
| - more granular methods offer a readable alternative to a call filled with JSON.
|
| -</p>
|
| -<pre>var callback = function () {
|
| - // Do something clever here once data has been removed.
|
| -};
|
| -var millisecondsPerWeek = 1000 * 60 * 60 * 24 * 7;
|
| -var oneWeekAgo = (new Date()).getTime() - millisecondsPerWeek;
|
| -chrome.experimental.browsingData.removeCookies({
|
| - "since": oneWeekAgo
|
| -}, callback);</pre>
|
| -<p class="caution">
|
| - <strong>Important</strong>: Removing browsing data involves a good deal of
|
| - heavy lifting in the background, and can take <em>tens of seconds</em> to
|
| - complete, depending on a user's profile. You should use the callback mechanism
|
| - to keep your users up to date on the removal's status.
|
| -</p>
|
| -<h2 id="samples">Examples</h2>
|
| + <div id="static"><div id="pageData-name" class="pageData">experimental.browsingData</div>
|
| <p>
|
| - Samples for the <code>browsingData</code> API are available
|
| - <a href="http://code.google.com/chrome/extensions/trunk/samples.html#chrome.experimental.browsingData">on the samples page</a>.
|
| +The <code>BrowsingData</code> API is no longer experimental;
|
| +it's supported! You can read all about it at its new home:
|
| </p>
|
| -<!-- END AUTHORED CONTENT -->
|
| +<blockquote>
|
| +<a href="browsingData.html">chrome.browsingData</a>
|
| +</blockquote>
|
| </div>
|
| <!-- API PAGE -->
|
| - <div class="apiPage">
|
| - <a name="apiReference"></a>
|
| - <h2>API reference: chrome.experimental.browsingData</h2>
|
| - <!-- PROPERTIES -->
|
| - <!-- /apiGroup -->
|
| - <!-- METHODS -->
|
| - <div id="methodsTemplate" class="apiGroup">
|
| - <a name="global-methods"></a>
|
| - <h3>Methods</h3>
|
| - <!-- iterates over all functions -->
|
| - <div class="apiItem">
|
| - <a name="method-remove"></a> <!-- method-anchor -->
|
| - <h4>remove</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.remove</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="null"><span>, </span><span>object</span>
|
| - <var><span>dataToRemove</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears various types of browsing data stored in a user's profile.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>dataToRemove</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>object</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>An object whose properties specify which browsing data types ought to be cleared. You may set as many or as few as you like in a single call, each is optional (defaulting to <code>false</code>).</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <dd>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>appcache</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should websites' appcaches be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>cache</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the browser's cache be cleared? Note: this clears the <em>entire</em> cache: it is not limited to the range you specify.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>cookies</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the browser's cookies be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>downloads</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the browser's download list be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>fileSystems</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should websites' file systems be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>formData</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the browser's stored form data be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>history</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the browser's history be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>indexedDB</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should websites' IndexedDB data be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>localStorage</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should websites' local storage data be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>originBoundCertificates</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should origin-bound certificates be removed?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>pluginData</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should plugins' data be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>passwords</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should the stored passwords be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>webSQL</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>boolean</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Should websites' WebSQL data be cleared?</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - </dd>
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when deletion has completed.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeAppcache"></a> <!-- method-anchor -->
|
| - <h4>removeAppcache</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeAppcache</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears websites' appcache data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when websites' appcache data has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeCache"></a> <!-- method-anchor -->
|
| - <h4>removeCache</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeCache</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's cache.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's cache has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeCookies"></a> <!-- method-anchor -->
|
| - <h4>removeCookies</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeCookies</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's cookies modified within a particular timeframe.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's cookies have been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeDownloads"></a> <!-- method-anchor -->
|
| - <h4>removeDownloads</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeDownloads</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's list of downloaded files (<em>not</em> the downloaded files themselves).</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's list of downloaded files has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeFileSystems"></a> <!-- method-anchor -->
|
| - <h4>removeFileSystems</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeFileSystems</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears websites' file system data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when websites' file systems have been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeFormData"></a> <!-- method-anchor -->
|
| - <h4>removeFormData</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeFormData</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's stored form data (autofill).</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's form data has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeHistory"></a> <!-- method-anchor -->
|
| - <h4>removeHistory</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeHistory</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's history.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's history has cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeIndexedDB"></a> <!-- method-anchor -->
|
| - <h4>removeIndexedDB</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeIndexedDB</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears websites' IndexedDB data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when websites' IndexedDB data has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeLocalStorage"></a> <!-- method-anchor -->
|
| - <h4>removeLocalStorage</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeLocalStorage</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears websites' local storage data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when websites' local storage has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removePasswords"></a> <!-- method-anchor -->
|
| - <h4>removePasswords</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removePasswords</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears the browser's stored passwords.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when the browser's passwords have been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removePluginData"></a> <!-- method-anchor -->
|
| - <h4>removePluginData</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removePluginData</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears plugins' data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when plugins' data has been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div><div class="apiItem">
|
| - <a name="method-removeWebSQL"></a> <!-- method-anchor -->
|
| - <h4>removeWebSQL</h4>
|
| - <div class="summary">
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <span>chrome.experimental.browsingData.removeWebSQL</span>(<span class="null"><span>RemovalOptions</span>
|
| - <var><span>options</span></var></span><span class="optional"><span>, </span><span>function</span>
|
| - <var><span>callback</span></var></span>)</div>
|
| - <div class="description">
|
| - <p>Clears websites' WebSQL data.</p>
|
| - <!-- PARAMETERS -->
|
| - <h4>Parameters</h4>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>options</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <a href="experimental.browsingData.html#type-RemovalOptions">RemovalOptions</a>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd class="todo">
|
| - Undocumented.
|
| - </dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div><div>
|
| - <div>
|
| - <dt>
|
| - <var>callback</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>function</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Called when websites' WebSQL databases have been cleared.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - <!-- RETURNS -->
|
| - <dl>
|
| - </dl>
|
| - <!-- CALLBACK -->
|
| - <div>
|
| - <div>
|
| - <h4>Callback function</h4>
|
| - <p>
|
| - If you specify the <em>callback</em> parameter, it should
|
| - specify a function that looks like this:
|
| - </p>
|
| - <!-- Note: intentionally longer 80 columns -->
|
| - <pre>function(<span></span>) <span class="subdued">{...}</span>;</pre>
|
| - <dl>
|
| - </dl>
|
| - </div>
|
| - </div>
|
| - <!-- MIN_VERSION -->
|
| - </div> <!-- /description -->
|
| - </div> <!-- /apiItem -->
|
| - </div> <!-- /apiGroup -->
|
| - <!-- EVENTS -->
|
| - <!-- /apiGroup -->
|
| - <!-- TYPES -->
|
| - <div class="apiGroup">
|
| - <a name="types"></a>
|
| - <h3 id="types">Types</h3>
|
| - <!-- iterates over all types -->
|
| - <div class="apiItem">
|
| - <a name="type-RemovalOptions"></a>
|
| - <h4>RemovalOptions</h4>
|
| - <div>
|
| - <dt>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>object</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Options that determine exactly what data will be removed.</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <dd>
|
| - <dl>
|
| - <div>
|
| - <div>
|
| - <dt>
|
| - <var>since</var>
|
| - <em>
|
| - <!-- TYPE -->
|
| - <div style="display:inline">
|
| - (
|
| - <span class="optional">optional</span>
|
| - <span id="typeTemplate">
|
| - <span>
|
| - <span>number</span>
|
| - </span>
|
| - </span>
|
| - )
|
| - </div>
|
| - </em>
|
| - </dt>
|
| - <dd>Remove data accumulated on or after this date, represented in milliseconds since the epoch ('Date().GetTime()'). If absent, defaults to 0 (which would remove everything).</dd>
|
| - <!-- OBJECT PROPERTIES -->
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div>
|
| - </dl>
|
| - </dd>
|
| - <!-- OBJECT METHODS -->
|
| - <!-- OBJECT EVENT FIELDS -->
|
| - <!-- FUNCTION PARAMETERS -->
|
| - </div>
|
| - </div> <!-- /apiItem -->
|
| - </div> <!-- /apiGroup -->
|
| - </div> <!-- /apiPage -->
|
| + <!-- /apiPage -->
|
| </div> <!-- /gc-pagecontent -->
|
| </div> <!-- /g-section -->
|
| </div> <!-- /codesiteContent -->
|
|
|