使用Firebug的console導(dǎo)致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 閱讀(7898) 評論(3)  編輯  收藏

          評論

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

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

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

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

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

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


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


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

          導(dǎo)航

          統(tǒng)計

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 浏阳市| 临沭县| 仙桃市| 宁乡县| 新安县| 广州市| 铜山县| 合肥市| 慈溪市| 焉耆| 逊克县| 明水县| 怀来县| 景宁| 清远市| 平山县| 临漳县| 潜山县| 兴宁市| 贵州省| 祁阳县| 独山县| 丰台区| 临城县| 皮山县| 清河县| 宿州市| 静乐县| 庄浪县| 石台县| 克拉玛依市| 通辽市| 新宁县| 尉氏县| 临漳县| 许昌市| 铜川市| 永定县| 海口市| 随州市| 阜康市|