Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for browsingData.DataTypeSet.
Developer library 5
browsingData
Enables extensions to clear the data that is accumulated while the user is browsing. In the `browsingData` API, browsing data is divided into types: - browser cache - cookies - downloads - history - local storage - plugin data - saved form data - saved passwords You can use the browsingData.remove() function to remove any combination of these types. There are also dedicated functions to remove each particular type
browsingData.settings()
an asynchronous function that returns a [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise). ## Syntax ```js-nolint let getSettings = browser.browsingData.settings() ``` ### Parameters None. ### Return value A [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise) that will be fulfilled with an object containing the settings information. This object has three properties: - `options`
browsingData.remove()
Removes the specified browsing data. The browsing data to be removed is specified in the `dataTypes` option, which is a browsingData.DataTypeSet object. You can use the `removalOptions` option, which is a browsingData.RemovalOptions object, to control how far back in time to remove data and whether to remove data only from normal web pages or to remove data from extensions as well. ## Syntax ```js-nolint let remo
browsingData.DataTypeSet
The **`browsingData.DataTypeSet`** type describes a set of data types. It contains a number of boolean properties. The name of each property is the name of a particular type of browsing data: "downloads", "history", and so on. All properties are optional. This type is used: - in browsingData.remove() to describe which data types to remove. - in browsingData.settings() to describe which data types are selected in t
Firefox 146 release notes for developers
ntrol the [Global Privacy Control](https://w3c.github.io/gpc/) signal. ([Firefox bug 1969865](https://bugzil.la/1969865)). ## Changes for add-on developers - browsingData.removeLocalStorage and browsingData.remove (when `localStorage` is set in browsingData.DataTypeSet) now delete objects from [`sessionStorage`](/docs/Web/API/Window/sessionStorage). ([Firefox bug 1886894](https://bugzil.la/1886894)) - The proxy.onR