`document.documentElement.removeChild(document.head)`, also xul documents