<html> <body> <p>file_NestedFramesOuter.html</p> <script> addEventListener('load', function() { setTimeout(createIframe, 0); }); function createIframe() { var iframe = document.createElement('iframe'); iframe.setAttribute('mozbrowser', true); iframe.src = location.hash.substr(1); document.body.appendChild(iframe); } </script> </body> </html>