为ie 添加firebuglite

将下面的代码保存为html,在IE中打开,右击链接 “firebug-lite” ,选择“添加到收藏夹” 即可。以后在IE下浏览其它网页时,如果想要使用firebuglite 功能,只需点击收藏夹的中的这个链接即可。

<html>
<body>
<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);">firebug-lite</a>
</body>
</html>

posted @ 2011-05-13 13:14  code_flyer  阅读(236)  评论(0编辑  收藏  举报