I am wondering if there is a way to get the “history” of deleted items or window objects in the DOM?
For example, a script tag that removes itself during page load.
<script id='deleteme'>
document.getElementById('deleteme').remove()
</script>
Is there a way to get this script tag after removing it from the DOM?
thanks
source
share