1 2 3 4 5 6 7
<!DOCTYPE html> <body> <script> document.addEventListener("DOMSubtreeModified", function() {}, false); document.body.insertAdjacentHTML("afterbegin", "<p>foo"); </script>