Skip to content

ElectronBrowserWindowLoadURLOptions

Unofficial

Options for ElectronBrowserWindow.loadURL.

Import:

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

Signature:

export interface ElectronBrowserWindowLoadURLOptions

Properties

PropertyTypeDescription
baseURLForDataURL?stringBase 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?stringExtra headers separated by \n.
httpReferrer?ElectronReferrer | stringAn HTTP Referrer url.
postData?(ElectronUploadFile | ElectronUploadRawData)[]The post data to send with the request.
userAgent?stringA user agent originating the request.