I see that I misunderstood the meaning of this function, I do not need the status of the request at the moment. I need to get the current code of the current page in a variable in order to find the necessary information in it. Besides, it would be very cool to get not the original code (before the java script is executed and others), namely the current one, which is generated by all the scripts on the page. Is this possible?