Adrian Vollmer 6b9c894ed2 Fix document once more after DOM content loaded
This is because some documents alter itself using `document.write`,
which can insert again tags (img, style, script) that expect to live in
a normal environment.

This commit also refactors some of the `retrieveFile` logic. The
function should behave differently when called in the iframe vs the
parent document.
2024-04-30 14:39:41 +02:00

90 B
11x11px