Skip to content

ElectronBrowserWindowLoadURLOptions

Unofficial

Options for ElectronBrowserWindow.loadURL.

Import:

import type { ElectronBrowserWindowLoadURLOptions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronBrowserWindowLoadURLOptions

Properties

Property Type Description
baseURLForDataURL? string Base url (with trailing path separator) for files to be loaded by the data url. This is needed only if the specified url is a data url and needs to load other files.
extraHeaders? string Extra headers separated by \n.
httpReferrer? ElectronReferrer | string An HTTP Referrer url.
postData? (ElectronUploadFile | ElectronUploadRawData)[] The post data to send with the request.
userAgent? string A user agent originating the request.