The crashed IE6 problem occurs again. When a page is opened, a prompt box is displayed, "Internet Explorer cannot open an Internet site... operation terminated ". After checking the information, I felt that the statement "javascript (a complicated js) is written in the body, and there is a problem with calling before the body element is loaded" is more reliable.
After some hard work, the problem was solved using exclusion, and two cases were found.
① Cause: the same JS file has been introduced twice.
Solution: delete one.
② Cause: directly call the method in the JS file in the body.
Solution: run the JS method after loading the page through the onload or jquery. ready event.
Conclusion: The browser encountered an error that caused the JS to crash during parsing.
Warn yourself: the prompt "Internet Explorer cannot open the Internet site" is vague, but we should realize that "there must be an error code (BUG) in the page )", before you take a serious attitude to analyze and debug, do not share your responsibilities with the browser (IE6 ).