My website keeps crashing IE, can't debug

前端 未结 5 1505
北海茫月
北海茫月 2021-01-18 02:09

I have a website that suddenly started to crash internet explorer.

The website loads and starts executing javascript but somewhere in there the machinery explodes. I

5条回答
  •  天命终不由人
    2021-01-18 02:38

    Make sure that your scripts are running after the DOMReady event occurs. IE is notorious for crashing when modifying the DOM before it is fully loaded.

    In some instances IE might prematurely fire the DOMReady event. See more information on how to overcome this here and here.

提交回复
热议问题