Skip to content

ElectronClearDataOptions

Unofficial

Options controlling which browsing data is cleared.

Import:

import type { ElectronClearDataOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronClearDataOptions

Properties

PropertyTypeDescription
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.