...
appcontent.addEventListener("DOMContentLoaded", function(e){
f.onPageLoad.apply(f,[e,'DOMContentLoaded']);}, true);
appcontent.addEventListener("DOMFrameContentLoaded", function(e){
f.onPageLoad.apply(f,[e,'DOMFrameContentLoaded']);}, true);
...
Above code is ok for some pages, but for certain pages,
the "DOMContentLoaded" event is fired for many times. I cannot tell how the
pages are special, it seems they are using javascript to load some portion
of the page.
My question is, is there a robust way to detect the page load event? (fired
only once after the page content, may include or exclude the images, is
completely loaded)
Appreciate any hint or solution very much, thank you!
Regards,
codeplay
- Ben
- Ben