热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

使用FirebugLite(1.2)你会在生产网站中使用它吗?-UsingFirebugLite(1.2)wouldyouuseitinproductionsites?

ItriedtouseFirebugLite(viathebookmarkletandalsoaddingittooneofmywebsites).我尝试使用Fi

I tried to use Firebug Lite (via the bookmarklet and also adding it to one of my web sites).

我尝试使用Firebug Lite(通过书签并将其添加到我的一个网站)。

I seem to get the alert:

我似乎得到警报:

Unable to detect the following script "firebug-lite.js" ... if the script has been renamed then please set the value of firebug.env.liteFilename to reflect this change

无法检测到以下脚本“firebug-lite.js”...如果脚本已重命名,请设置firebug.env.liteFilename的值以反映此更改

Alot. Especially when I try to close the tab. This happens in Firefox, Camino and Safari.

很多。特别是当我试图关闭标签时。这种情况发生在Firefox,Camino和Safari中。

What I'm wondering is, is this ready for use, or do I need to copy the code, post it locally and hack it? I already checked the documentation, and it was pretty limited.

我想知道的是,这是准备好使用,还是我需要,在本地发布并破解它?我已经检查了文档,而且非常有限。

I was also looking at the mod dates and the site appears to have been relatively idle since mid-2008.

我也在关注模具日期,自2008年中期以来该网站似乎相对闲置。

1 个解决方案

#1


The Javascript file rounds out at 77,305 bytes, so I would think you would not want to use it on a production site unless you were using a dynamic language and could output the script conditionally when you need to do debugging.

Javascript文件的结果是77,305字节,所以我认为你不想在生产站点上使用它,除非你使用的是动态语言并且可以在需要进行调试时有条件地输出脚本。

(i.e. http://www.somefakesite.com/page?debug=true)

As long as you're only including the file in the page when you are actually debugging, it probably doesn't matter where you pull the script from unless it doesn't work correctly, in which case you would have to modify and serve it yourself.

只要您在实际调试时只在页面中包含该文件,除非它无法正常工作,否则从哪里提取脚本可能无关紧要,在这种情况下您必须修改并提供它你自己。


推荐阅读
author-avatar
gaoyong0713
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有