很不错的插件 在IE下使用Firebug的简单功能

同事啄米鸟推荐了我一个web版firebug,适用大多数浏览器,确实不出,主要可以用于IE的CSS样式调试,因为IE developer toolbar和IE8自带的调试工具太难用了。

 

 

在网页head 部分上面 这个JS 即可使用web版firebug:

<mce:script type=”text/javascript” src="”https://getfirebug.com/firebug-lite.js”" mce_src="”https://getfirebug.com/firebug-lite.js”"></mce:script>

如果想查看在线的页面元素,版主给了如下方法:

<a href="javascript:(function(){var d=document, s=d.getElementById('firebug-lite');if(s!=null)return;s=d.createElement('script');s.type='text/javascript';s.src='https://getfirebug.com/firebug-lite.js';d.body.appendChild(s);})();void(0);" mce_href="javascript:(function(){var d=document, s=d.getElementById('firebug-lite');if(s!=null)return;s=d.createElement('script');s.type='text/javascript';s.src='https://getfirebug.com/firebug-lite.js';d.body.appendChild(s);})();void(0);">firebug-lite</a> 

运行上面的HTML代码,在 “firebug-lite” 的连接上点右键选择“添加到收藏夹”(这个应该针对IE,chrome右键没有加入收藏),把这个连接添加到收藏夹。然后打开任意一个网页,打开后,在收藏夹中找到刚才添加的这个,点一下,再等一小会儿,你就会看到 网页的右下角有“firebug”的这个工具了。

 

官网:http://www.getfirebug.com/firebuglite

 

你可能感兴趣的:(很不错的插件 在IE下使用Firebug的简单功能)