<!DOCTYPE html> 
<html>
<head>
<script type="text/javascript">

function boom()
{
  window.addEventListener("DOMAttrModified", function(){}, false);
  document.body.appendChild(document.createElement("input"));
}

</script>
</head>

<body onload="boom();"></body>

</html>