Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks, its an interesting trick, but my problem is a bit different - I need to know when the page "looks ready", i.e. from the user perspective. What makes me think that it is possible, at least in theory, is the fact that the browser does know somehow when it is finished - the browser loading indication stops when the page looks ready.
      singulars
    2. COI can see what you're getting at. It is difficult to know when the page really is loaded, unless you know exactly how many images you have, and you track each image that loads with an onload event on each image. In fact, since Image loading is usually the final thing that determines when a page is user-visual-ready, in the current state of the browsers, you just might have to know: how many images are on the page, have all the images loaded? If yes, check that the final element on the page is reachable (some hacksih getElementById). If yes, then page could assume to be loaded.
      singulars
    3. COBy the way, ajax types of requests (XMLHttpRequest and JSONP like solutions) triggered after a page is really loaded can cause the browser's page load spinner to begin spinning again. I'd think of the state of the page load as more of a binary state: it's either loading something or it's not. And on most AJAX pages, as Nick Bastin said, it's very difficult to say when the page has finished loading. GMail and Yahoo mail, for example, never really stop firing requests and as such it makes the "page loader has stopped spinning, page is loaded" question hard to answer, at least philosophically.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload