MDN self-hosted library · e01.org

Build a cross-browser extension

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

js
if (typeof fn === "function") {
  // safe to use the function
}