A JavaScript script only works on Internet Explorer when the Internet Explorer Developer Toolbar is visible

后端 未结 3 2111
被撕碎了的回忆
被撕碎了的回忆 2021-02-18 18:53

I got a script working on Firefox 5 but not with Internet Explorer 9. When I just open the Internet Explorer Developer Toolbar addon and try the same actions as befor

3条回答
  •  遥遥无期
    2021-02-18 19:24

    Is your script accessing or running any methods that are only available when the developer toolbar is open, such as console.log? For example, running console.log when console is undefined because the developer toolbar isn't open will cause an exception to be thrown.

提交回复
热议问题