How to verify what an html/javascript page is loading?

Asked

Viewed 1,459 times

2

How can I check what my browser is trying to load, even after the html/javascript page has already loaded "completely"?

The page is: http://cerva.tk/index.html

If you can do a test and see that it delivers the result correctly, but the browser keeps loading something... I do not know exactly what...

Also, at least in Chrome and Android the result is not displayed... or is displayed and already back to home page not letting the user see the result. I suspect that this "code" that he keeps loading in the browser is responsible for this problem on Android.

  • even on the desktop you can see the result.

  • Direct access by http://www.timeu.com.br/cerva/? Liter=&600+ML=&Long+Neck=&Litrinho=&Lata+350ml=&Brass+473ml= still gives more time to see the result flashing.

  • Ué... here it works perfectly on both links... http://imgur.com/RICtEki

  • I think you have to test on several browsers to get a better idea.

  • the weird is that I tested in Firefox and Chrome on 3 different micros with different versions of S.O. (Ubuntu 15.10, Ubuntu 15.04 and Windows 10) and all worked perfectly normal... except for the eternal loading of the browser after showing the result...

  • Here it barely appears and already back to form on Opera 35 - In the IE11 it stops at the result - No Vivaldi it goes back to form, no time to read - No Iron, same problem, no time to read. - No Firefox he is "carrying", but appears to be just what gives the return in others.

Show 1 more comment

1 answer

1

For step-by-step verification in the browser, you can make use of the browser’s own debugger (F12). Where by clicking the pause button you can see step by step what happens.

Using the script debugger: Depurador de script

Verifying the Network (GET and POST)

GET e POST

But somehow the site is working well.

  • 3

    of 5 browsers that I have tested so far, only in 2 works. I wouldn’t say that this is "working well".

  • Already gave Ctrl + F5 in browsers?

  • 3

    If I give control + F5 and solve the problem, it’s easy. Just put a message at the entrance of the site "Dear user, if this is your first access, please give a control + F5 before using the site".

  • PS: The previous comment was just to put in perspective the test I did in real conditions, which would be the same as a new user just entering the site. Let it be clear that I am not dismissing the questioning given, I just think it is dangerous this type of test to precisely hide the problem, rather than solve. For development purposes, control + F5 can actually help the author test with the latest version of the modifications. Even important, use a browser configured to save nothing after the current session is closed (neither cookies nor Storage)

  • Did not say in order to "hide" the problem, it was in order to even make sure that your browser is not using previously saved situations (that the users in the comments said it was working normally). My goal is to help solve the problem and not hide something that may be a possible headache in the future. I’m just ruling out the silliest things to the most complex...

  • I’m sure the comment was to help, obviously. But you also understood what I said about hiding by accident right? The possibility of working only the second time can be confused with the problem having been solved. The F5 test is good, but only if the developer then cleans and closes everything, and the site works the first time too. As for your answer, I think that what is indicating as a path to solution is correct, but the statement of the end hinders a little.

  • using the debugger... apparently found nothing wrong...

  • The question is interesting, as is the TK free domain in the image.

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.