This is the parent document.

1. Click here to load child.htm into a tiny iframe.

Child.htm has an onLoad trigger that will copy its scripts into this document. One of those scripts is showAlert().

2. On IE, clicking javascript:showAlert() raises an alert. On Firefox, nothing happens unless I use the following code

if (srcScripts.item(i).src) { newScript.src = srcScripts.item(i).src; }
in place of just
newScript.src = srcScripts.item(i).src;

However, it should not make any difference because newScript is a newly-allocated object.

And regardless, the "loading" logo in Firefox keeps spinning after the page has been loaded (and the showAlert() clicked).