使用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  回復  更多評論   


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


          網站導航:
           
          <2014年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          導航

          統計

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 临海市| 阳朔县| 呼伦贝尔市| 浙江省| 宝坻区| 成武县| 富川| 东源县| 桐乡市| 永定县| 兴文县| 巴塘县| 大荔县| 民勤县| 延庆县| 白玉县| 蓬安县| 高州市| 荆州市| 阿鲁科尔沁旗| 祁东县| 山东省| 阿拉善盟| 林西县| 武功县| 阳朔县| 侯马市| 鹤庆县| 赣榆县| 弥渡县| 石家庄市| 墨竹工卡县| 湘潭市| 祥云县| 长海县| 绍兴市| 永泰县| 会同县| 元朗区| 神池县| 泰宁县|