a script on this page is causing ie to run slowly

前端 未结 14 2607
野性不改
野性不改 2020-11-29 23:55

The problem is in the title - IE is misbehaving and is saying that there is a script running slowly - FF and Chrome don\'t have this problem.

How can I find the prob

14条回答
  •  盖世英雄少女心
    2020-11-30 00:38

    Get yourself a copy of the IBM Page Profiler:

    https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=61d74777-1701-4014-bfc0-96067ed50156

    It's free (always a win). Start it up in the background, give it a few seconds, then refresh the page in IE. Go back to the profiler and it will list out all the resources used on the page and give you detailed profile information - in particular where JavaScript is taking a long time to execute.

    It should be a good start to finding the source of your problem.

    If the script tags are inline, I'd suggest creating a local copy of the file and separating out the script tags to separate files if you can.

提交回复
热议问题