Never-mind images crashing Safari, this block of code will do it too:
<html>
<body>
<div>
<div>
<script type=”text/javascript”>
document.body.innerHTML = “hello!”;
</script>
</div>
</div>
</body>
</html>
Accidently found that out today… if you want to test it, go for it.