readyState

The Document.readyState property describes the loading state of the document.

MDN Reference