javascript - Way to see which elements are still loading and are hindering window.onload from firing? -
Is there any way to see which element of a website is still loading so that the window is closed? I do not have a global way of doing this - it may well be that no one can do it.
The only thing in the vein that comes to mind is that I think that you can walk through each image and check those qualities
However, To create that distortion you will have a hard time to isolate unsuccessful image load processes and anyway , for you panic < / Code> must work with the event and set some unsuccessful "flag" flag
what exactly is it? Yes, loading really hard script loading is slowly loading: If a script loads slowly, then there is no execution of JavaScript for that moment, so any kind of delay here There is no way to detect ... but I think the JavaScript you are using will need a basic change.
Comments
Post a Comment