MDN self-hosted library · e01.org

CookieStore: change event

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

js
cookieStore.addEventListener("change", (event) => {
  console.log("1 change event");
});
js
cookieStore.onchange = (event) => {
  console.log("1 change event");
};