MDN self-hosted library · e01.org

Window Management API

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const myWindow = window.open(
  "https://example.com/",
  "myWindow",
  "left=50,top=50,width=400,height=300",
);
html
<iframe src="3rd-party.example" allow="window-management"></iframe>