首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

ie 上 firebug如何使用

2012-11-23 
ie 下 firebug怎么使用http://uicss.cn/r.php?hrhttp://getfirebug.com/lite.html?script typetext/ja

ie 下 firebug怎么使用

http://uicss.cn/r.php?hr=http://getfirebug.com/lite.html

?

<script type="text/javascript" src="https://getfirebug.com/firebug-lite-debug.js#enableTrace,overrideConsole=false"></script>

<!-- ========================================================================================== -->

Firebug Lite debug:

Beta channel

Firebug Lite beta:

Local link (offline)

If you need using Firebug Lite while offline, download the code, copy it to a local destination, and link the firebug-lite.js in the TOP of the HEAD of your document:

If you want to debug the local installation, use the firebug-lite-debug.js file instead:

<!-- ========================================================================================== -->
<html debug="true">
Script URL options

You can also set the options using URL fragments, specially handy to tweak options in your bookmarklet.

https://getfirebug.com/firebug-lite.js#enableTrace

Options are separated by commas (,), and values are informed using the equals to (=) symbol. If no value is informed, "true" is assumed.

path/to/firebug-lite.js#enableTrace,overrideConsole=false

is equivalent to:

path/to/firebug-lite.js#enableTrace=true,overrideConsole=false
Script JSON options

It is possible to set options using a JSON object inside the linked script:

<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js">{    overrideConsole: false,    startInNewWindow: true,    startOpened: true,    enableTrace: true}</script>
Cookies

Finally, you can override the options using cookies, via User Interface, by clicking in the Firebug icon in the upper-left corner.

<!-- ========================================================================================== -->

The debug mode will be activated when you run the Firebug Lite debug bookmarklet, and when you the load the "firebug-lite-debug.js" or "firebug-lite-dev.js" files. You can also activate it manually by setting a special option "debug" to "true", using the Script URL or Script JSON methods.

<!-- ========================================================================================== -->

When in development mode, some things behave quite differently to make the development process easier, such as:

All script files are loaded separately, without compression.The internal library used by Firebug Lite (aka FBL) is exposed to the global namespace allowing you to inspect its content. It is also exposed the domplate and its classes, and the FBTrace objectThe skin is loaded in a separated file allowing you to rapidly change the style and/or markup of the User Interface.Firebug Lite will be forced to open even when Firebug is active (which is not the default behavior), so you can use Firebug to debug it.The "Trace Panel" is enabled (in which internal log messages of Firebug Lite are printed).A new "Dev Panel" will be available with tools to compress the skin and the source code of the application in a single file.<!-- ========================================================================================== -->Contributing

Your contribution is very important. Found a bug? Have a suggestion? Please report us.

Found a fix for a particular issue? Patches are welcome. Also, if you are willing to help more deeply with coding, join our team.

热点排行