As seen here.
After document.body.innerHTML = "test";
can’t access #perchance-error-indicator because it no longer exists. This is a silent error, not shown in the preview window. Presumably because #perchance-error-indicator no longer exists.
After document.getElementById("output-container").innerHTML = "test2";
errors trying to replace this script tag with another one or something?
I can see why these problems come up. But some checks and workarounds should be possible for these eventualities at least.
I didn’t intend the comment to mean that the ‘this issue should be ignored’ but just stating an observation on the generators that I’ve seen in Perchance (maybe I intended it unconsciously, so sorry), but I get what you mean that it is quite limiting not to be able to use the regular ways of accessing/manipulating the DOM.