In firefox 3 I used following code to get the ready state of the
browser using "navigator-throbber" but in firefox 3.5 "navigator-
throbber" is missing.

domDocument->GetElementById(NS_LITERAL_STRING("navigator-throbber"),
getter_AddRefs(domElement)) ;