ElectronClearDataOptions
Unofficial
Options controlling which browsing data is cleared.
Import:
import type { ElectronClearDataOptions } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronClearDataOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| avoidDataTypes? | string[] | The types of data to avoid clearing. Cannot be used together with dataTypes. | |
| dataTypes? | string[] | The types of data to clear. If not specified, clear every data type. | |
| originMatchingMode? | 'registrable-domain' | 'third-parties-included' | How the origins listed in origins are matched. | |
| origins? | string[] | The origins to clear the data of, in the scheme://host:port representation of window.location.origin. |