使用Firebug的console導(dǎo)致IE提示對(duì)象未定義錯(cuò)誤

          1.安裝Firebug Lite
          具體安裝方法查看Firebug Lite的主頁(yè)
          http://getfirebug.com/lite.html

          2.添加一段javascript到頁(yè)面中
          if (!window.console || !console.firebug)

          {
              var names 
          = ["log""debug""info""warn""error""assert""dir""dirxml",
              
          "group""groupEnd""time""timeEnd""count""trace""profile""profileEnd"];

              window.console 
          = {};
              
          for (var i = 0; i < names.length; ++i)
                  window.console[names[i]] 
          = function() {}
          }

          或直接下載firebugx.js
          http://getfirebug.com/firebug/firebugx.js


          posted on 2008-10-15 14:36 Gordian Yuan 閱讀(7898) 評(píng)論(3)  編輯  收藏

          評(píng)論

          # re: 使用Firebug的console導(dǎo)致IE提示對(duì)象未定義錯(cuò)誤 2014-05-26 17:04 奮斗

          范德薩分撒范德薩分股份大股東分  回復(fù)  更多評(píng)論   

          # re: 使用Firebug的console導(dǎo)致IE提示對(duì)象未定義錯(cuò)誤 2014-09-30 18:39 王紅波

          怎么回事  回復(fù)  更多評(píng)論   

          # re: 使用Firebug的console導(dǎo)致IE提示對(duì)象未定義錯(cuò)誤 2014-12-20 19:11 zhangjie

          http://hd.tianyu.163.com/spokesman/cover  回復(fù)  更多評(píng)論   


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          <2008年10月>
          2829301234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 北碚区| 裕民县| 珠海市| 通道| 三河市| 沧州市| 亳州市| 防城港市| 大渡口区| 诏安县| 鄂托克前旗| 深州市| 石首市| 达日县| 古丈县| 贵南县| 中宁县| 桦川县| 石首市| 大庆市| 固始县| 利川市| 皮山县| 吴桥县| 易门县| 纳雍县| 米林县| 黔江区| 兴国县| 玉环县| 卢湾区| 丹寨县| 新泰市| 明水县| 贺兰县| 宣汉县| 清水河县| 盐山县| 商丘市| 简阳市| 榆中县|