View page on GitHub

Test Removal of Applet Tag

On some browsers removing Applets appears to reload them

Run Applet Removal

This points out a problem that I’ve only found on IE. I’ve verified it on IE 10 and I suspect it happens on earlier versions as well. If an applet tag is removed in the normal way, then the initial applet instance is destroyed, and then immediately after a new instance is created with the same params.

If instead the applet is inside of an element and element.innerHTML = "" is used, then the applet is destroyed and a new instance is not created.