I have some web pages which rely on body.onload
(or, equivalently, window.onload
) to set them up properly. Sometimes onload
is not being called.
Is there a trick with some web browser (ideally Chrome, where this apparently happens most often) which will tell me what exactly is preventing the page from loading successfully?
Clue: this rarely (maybe even never) happens when I hit F5 to reload the whole page, but more generally it happens if a page has been arrived-at by clicking a link or pasting the url into the address bar. Is there a quirk of onload
semantics that might be tripping me up?
N.B. The scripts themselves are not producing any errors in the console.