MDN self-hosted library · e01.org

Screen: availHeight property

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

js
const paletteWindow = window.open(
  "panels.html",
  "Panels",
  "left=0, top=0, width=200",
);
js
window.outerHeight = window.screen.availHeight;