What exactly can cause an “HIERARCHY_REQUEST_ERR: DOM Exception 3”-Error?

It means you’ve tried to insert a DOM node into a place in the DOM tree where it cannot go. The most common place I see this is on Safari which doesn’t allow the following: document.appendChild(document.createElement(‘div’)); Generally, this is just a mistake where this was actually intended: document.body.appendChild(document.createElement(‘div’)); Other causes seen in the wild (summarized … Read more