MDN self-hosted library · e01.org
incognito / notebook

incognito

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

js
  browser.windows.getLastFocused().then((windowInfo) => {
    console.log(`Window is private: ${windowInfo.incognito}`);
  });
js
fetch(url, {
  credentials: "omit",
  cache: "no-cache",
});