如标题所述,Firebug Lite
1.4
和latest在页面加载时1.3
抛出错误。IE 8.0.6001
Firebug 文件在本地使用。使用在线文件时,
http://getfirebug.com/firebug-lite.js
我收到了几次警报:Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive.
单击等待脚本时,在 5 次警报后,它可以工作。
无论如何该怎么办?
编辑:
我只在 IE 中使用 Firebug:
if(isset($_GET['firebug']) && preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT'])) {
// $strFirebugLite = "<script type='text/javascript' src='../../client/lib/firebug-lite/firebug-lite.js'></script>";
$strFirebugLite = "<script type='text/javascript' src='http://getfirebug.com/firebug-lite.js'></script>";
}
然后我将字符串添加到我的页面。如果不绑定 Firebug,一切正常。
编辑2:
也许问题不清楚:问题不是我的自定义 JavaScript 代码,而是 Firebug 本身的使用,添加<script> ...
到我的页面。
编辑3:
<html><head><title>Title</title>
<link id="visiLibSkin" rel="stylesheet" type="text/css" href="skin/03/style.css">
<style id="ext_style"></style>
<script language="JavaScript" src="../../client/visiSkin.js" type="text/javascript"> </script>
<script language="JavaScript" src="../../client/visiFunc01.js" type="text/javascript"> </script>
<script language="JavaScript" src="../../client/visiClass01.js" type="text/javascript"> </script>
<script language="JavaScript" src="../../client/julz_visiWizard.js" type="text/javascript"> </script>
<script language="JavaScript" src="skin/03/style.js" type="text/javascript"> </script>
<script type='text/javascript' src='http://getfirebug.com/firebug-lite.js'></script>
<link rel="stylesheet" href="../../client/lib/extjs/resources/css/ext-all-gray-scoped.css" type="text/css"/>
<script type="text/javascript" src="../../client/lib/extjs/ext-all-debug.js"></script>
<script type="text/javascript" src="../../client/lib/x/loader.js"></script>
<script type="text/javascript" src="../../client/lib/deftjs/deft.js"></script>
<script type="text/javascript" src="../../client/lib/x/x.js"></script>
<script type="text/javascript" src="../../client/lib/x/test.js"></script>
<link rel="stylesheet" href="../../client/lib/codemirror/lib/codemirror.css" type="text/css"/>
<link rel="stylesheet" href="../../client/lib/codemirror/lib/util/simple-hint.css" type="text/css"/>
<script type="text/javascript" src="../../client/lib/codemirror/lib/codemirror.js"></script>
<script type="text/javascript" src="../../client/lib/codemirror/mode/xml/xml.js"></script>
<script type="text/javascript" src="../../client/lib/codemirror/lib/util/closetag.js"></script>
<script type="text/javascript" src="../../client/lib/codemirror/lib/util/formatting.js"></script>
<script language="JavaScript" src="skin/03/visiCalendar.js" type="text/javascript"> </script>
编辑4:
我现在也收到错误消息,其中的对象line 1354 char 131
不支持属性或函数(使用http://getfirebug.com/firebug-lite.js
)
注意:我还没有在 Firebug 中做任何事情,只是加载我的页面。