Load multiple pages in a hidden iframe from a xul-based firefox extension
问题 From a xul-based firefox addon, I need to: programmatically create an invisible iframe (once) reuse it to load multiple URLs as the addon runs access the returned HTML after each URL loads Problem: I can only get the first page-load for any created iframe to trigger an 'onload' or 'DOMContentLoaded' event. For subsequent URLs, there is no event triggered. Note: I'm also fine with using the hiddenDOMWindow itself if this is possible... Code: var urls = ['http://en.wikipedia.org/wiki/Internet',