I’ve got an html page that, after a certain amount of time, has a particular element being removed or deleted from the DOM.
The element is a div with the id “workspace”.
There are lots of third party scripts being loaded in the page, and after some time, the “workspace” element is being removed, but I’m not sure why.
How can I determine which javascript library is removing the “workspace” element?
If you are using chrome, you can go to the elements tab, right click on the element (before it is deleted) and click break on… -> subtree modifications. This should break the javascript right as this element is being altered.