Is there a reliable cross-browser solution to find out when all contents on a website finished loading? Since I have a lot of downloadable material (some of them are in the iframe), this does not work (the event fires even if the browser loading indicator is still spinning):
$(window).add('iframe').bind('load').promise().done(function() {
alert('Too early :(');
});
source
share