MDN self-hosted library · e01.org

Content-Security-Policy: base-uri directive

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

html
<meta http-equiv="Content-Security-Policy" content="base-uri 'self'" />