asfman
android developer
posts - 90,  comments - 213,  trackbacks - 0
firebug lite的妙用,

这种妙用避免了麻烦的将调试页面的<html>改为<html debug="true">,这只是一个好处,

我们还可以对其他网站用IE进行firebug了,看一下


看看我是如何做到的,首先下载以下文件
http://firebuglite.appspot.com/firebug-lite.css
http://firebuglite.appspot.com/spacer.gif
http://firebuglite.appspot.com/firebug.gif
http://firebuglite.appspot.com/tree_open.gif
http://firebuglite.appspot.com/tree_close.gif
http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js

以上点右键另存为
保存在你机器上的网站根目录下 f 文件夹中

firebug-lite.css改名为f.css (则访问地址为http://localhost/f/f.css)

编辑firebug-lite-compressed.js文件,搜索http://firebuglite.appspot.com/firebug-lite.css
更改为 http://localhost/f/f.css,保存,改名为f.js (则访问地址为http://localhost/f/f.js)


D:\My Documents\Favorites(这个是我的IE收藏夹目录)

在里面新建文件new.txt
编辑添加内容
[InternetShortcut]
URL=javascript:var f=document.createElement('script');f.setAttribute('src','http://localhost/f/f.js');document.body.appendChild(f);(function(){if(window.pi&&window.firebug){firebug.init();}else{setTimeout(arguments.callee);}})();void(f);


没有换行哦,
保存,重命名为firebug.url

http://getfirebug.com/lite.html
posted on 2008-10-24 19:51 汪杰 阅读(201) 评论(0)  编辑 收藏 引用
只有注册用户登录后才能发表评论。

<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(15)

随笔分类(1)

随笔档案(90)

文章分类(727)

文章档案(712)

相册

收藏夹

http://blog.csdn.net/prodigynonsense

友情链接

最新随笔

搜索

  •  

积分与排名

  • 积分 - 457939
  • 排名 - 6

最新随笔

最新评论

阅读排行榜

评论排行榜