Browser execution
The runner parses markup locally and combines CSS and JavaScript with the document. Your browser applies styles and executes classic scripts inside the iframe. Inline modules can run when supported by the browser.
Preview isolation
The sandbox permits scripts and gives the frame an opaque origin. Access to parent DOM and storage, top navigation, popups, forms and downloads is restricted. A content policy blocks most remote resource loads.
Console messages
An injected bridge forwards bounded log, info, warning and error messages as text. The parent checks the frame source, origin, run identifier, message type and length.
Local data and compatibility
Code stays in memory until you download it or explicitly send an example to the main runner. A current browser with iframe sandboxing, JavaScript modules and Web Workers provides the intended experience.
Limits
Long-running scripts can affect responsiveness. The iframe sandbox is a browser protection with limits. Network restrictions on resources do not cover every kind of frame navigation. Reset the frame after a failed run.