使用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 閱讀(7892) 評論(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)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 黎川县| 藁城市| 南汇区| 金乡县| 泸定县| 绵阳市| 黄冈市| 宣武区| 南漳县| 武隆县| 拜城县| 万全县| 吉木萨尔县| 温州市| 邳州市| 邢台县| 陇西县| 峨眉山市| 云安县| 云浮市| 泰州市| 和田县| 泸定县| 盐城市| 探索| 雷州市| 绥棱县| 八宿县| 利津县| 阿合奇县| 钟祥市| 尚义县| 衡南县| 西城区| 枞阳县| 通城县| 瑞丽市| 工布江达县| 东丰县| 鞍山市| 尤溪县|