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


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


          網(wǎng)站導航:
           
          <2014年12月>
          30123456
          78910111213
          14151617181920
          21222324252627
          28293031123
          45678910

          導航

          統(tǒng)計

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 白朗县| 晋中市| 大冶市| 保靖县| 巴塘县| 湘潭县| 鲁甸县| 黑山县| 钦州市| 湖口县| 车致| 从化市| 阳曲县| 孟津县| 贵定县| 台州市| 泸州市| 临西县| 锡林浩特市| 密云县| 邵武市| 四平市| 闽清县| 长乐市| 闸北区| 岢岚县| 财经| 三台县| 漳平市| 娄烦县| 紫云| 蕉岭县| 宜春市| 类乌齐县| 陆丰市| 本溪市| 东莞市| 崇礼县| 兴宁市| 安西县| 邹城市|