Skip to content

Glossary: Desktop Apps with Electron and Tauri

Preload script

Also written: preload, preload.cjs

A small script Electron runs in the renderer just before the page loads. It uses `contextBridge` to give the page a safe API like `window.till`.

Where the book teaches it

Related terms

contextBridgeContext isolationSandbox