Page source is sometimes incomplete
Here's how I discovered this issue.
PayPal has a page on which the user selects a method for having money withdrawn from one's PayPal account to one's bank. I've found that this page's "Next" button works correctly (that is, it loads the page on which the user would then indicate the amount to be transferred) on Firefox 40.0.2, but it works incorrectly (that is, it only underlines the word "Next" and does not load a new page) on Firefox 52.9.0 and Firefox 87.0.2. (My internet access in each case is dialup.)
After pursuing various leads on the possible cause, it occurred to me to inspect the page source for the "withdraw" page for each of those versions of Firefox. And I discovered that the page source displayed by Firefox 40.0.2 contained content that was absent from the page source displayed by either of the other two Firefox versions. Some of this content appeared to define a function that returns content to the server when "Next" was clicked. If true, this could certainly account for why clicking the button didn't do what it should.
I noticed that the page source uses as many as 12 nested levels of <div>-</div> elements, which seems counter to the advice I read at an HTML standards page (at whatwg.org). But I don't know whether this could be a factor in the behavior I described.
I've copied the page source for each Firefox version and pasted them into text files, but I wasn't sure it would be appropriate to post them publicly. I would be glad to provide them offline.
Thanks for any help or suggestions.
由 cor-el 於 修改
Clarification: the 12 nested levels were of the "div" element (which got suppressed in my comment because I incautiously used angle brackets around open and close "div" tags).
Firefox can have a problem with elements like DIV when they are nested too deeply, but 20 shouldn't be a problem.
Thanks for the tip on Inspect Element, which I will add to my toolbox.
However, I should probably clarify that although the code in question was absent from the page source in Firefox 87.0.2 and Firefox 52.9.0, it was present in the page source in Firefox 40.0.2 (which is what I find so baffling).
I have determined beyond a reasonable doubt that (1) the page source in Firefox 87.0.2 contains nothing that is not also present in the page source for Firefox 52.9.0, and (2) the page source in Firefox 52.9.0 contains nothing that is not also present in the page source for Firefox 40.0.2. This would seem to establish that PayPal is not sending any scripts to either of the two more recent of these browsers that it is not also sending to Firefox 40.0.2.