// unnick asked for this, i provide. // this provides no usefulness and there is no implementation to respawn windows. but i think it's funny and you can just reload document.addEventListener("DOMContentLoaded", function() { document.querySelectorAll("close-button").forEach(e => { e.onclick = () => e.parentElement.parentElement.parentElement.remove(); }); });