使用Firebug的console導致IE提示對象未定義錯誤

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

          2.添加一段javascript到頁面中
          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 閱讀(7894) 評論(3)  編輯  收藏

          評論

          # re: 使用Firebug的console導致IE提示對象未定義錯誤 2014-05-26 17:04 奮斗

          范德薩分撒范德薩分股份大股東分  回復  更多評論   

          # re: 使用Firebug的console導致IE提示對象未定義錯誤 2014-09-30 18:39 王紅波

          怎么回事  回復  更多評論   

          # re: 使用Firebug的console導致IE提示對象未定義錯誤 2014-12-20 19:11 zhangjie

          http://hd.tianyu.163.com/spokesman/cover  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2008年10月>
          2829301234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

          導航

          統計

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 鞍山市| 北海市| 宜丰县| 罗定市| 孟津县| 牙克石市| 麟游县| 大同市| 汤阴县| 澎湖县| 静安区| 磐安县| 三亚市| 吴旗县| 同心县| 石嘴山市| 博客| 怀柔区| 宜宾县| 平顶山市| 邵东县| 始兴县| 汝南县| 富裕县| 青海省| 永修县| 克东县| 澄城县| 桑日县| 牡丹江市| 建湖县| 玉门市| 惠安县| 工布江达县| 西林县| 曲松县| 南皮县| 博客| 新安县| 石渠县| 江华|