About blank iframe not running embedded javascript called from XHR
We have developed some Javascript that gets some content from a website using XHR and then writes to a new document (about:blank) within an iframe.
If the page contains embedded Javascript it’s not executed – it is not executed if its “in line” but it can execute if it’s called from a downloaded include.
In addition even though we set the base ref tag the “onpage “ links ie do not work and are interpreted as being on a different page (which is then attempted to be loaded).
Our app is designed to run on HTML5 as such an HTML 5 only solution would work for us