Skip to content

ElectronPrivileges

Unofficial

Privileges granted to a custom scheme registered with a protocol.

Import:

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

Signature:

export interface ElectronPrivileges

Properties

PropertyTypeDescription
allowServiceWorkers?booleanWhether to allow registering ServiceWorkers for this scheme.
bypassCSP?booleanWhether to bypass the Content Security Policy for resources served by this scheme.
corsEnabled?booleanWhether to enable CORS for this scheme.
secure?booleanWhether to treat the scheme as secure.
standard?booleanWhether to treat the scheme as a standard scheme (generic URI syntax).
stream?booleanWhether the scheme should be treated as streaming for <video> and <audio> elements.
supportFetchAPI?booleanWhether to support the fetch API for this scheme.

Links to this page: