使用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 閱讀(7898) 評論(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  回復  更多評論   


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


          網站導航:
           
          <2014年9月>
          31123456
          78910111213
          14151617181920
          21222324252627
          2829301234
          567891011

          導航

          統計

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 攀枝花市| 五常市| 南郑县| 隆安县| 台北县| 本溪市| 龙陵县| 县级市| 磐安县| 凤城市| 丹东市| 石棉县| 晋中市| 信阳市| 普洱| 兴隆县| 色达县| 金沙县| 镇宁| 北宁市| 临洮县| 阿克| 怀集县| 平塘县| 望江县| 伊宁市| 徐汇区| 武义县| 商南县| 永安市| 巴楚县| 贵阳市| 襄垣县| 望谟县| 左权县| 芜湖市| 正安县| 鞍山市| 长宁区| 常熟市| 尼木县|