简体   繁体   English

将Firebug Lite添加到JSFiddle以最小化启动

[英]Add Firebug Lite to JSFiddle to start up minimized

Firebug was best development tool for web for a long time. Firebug是Web上最好的开发工具。 Now that advanced well-equipped Developer Tool is shifted with every major browsers, we don't need to look for it. 现在,先进的设备齐全的开发人员工具已经转移到每个主流浏览器,我们不需要寻找它。 But sometimes while sharing JSFiddle code that prints some log to console , or just need peeking into html attributes or classnames , it seems more convenient to me to just include the Firebug script to the fiddle rather than bringing up the whole developer tools. 但有时在共享JSFiddle代码时会将某些日志打印到console ,或者只是需要窥视html attributesclassnames ,对我来说,将Firebug脚本包含在小提琴中而不是提出整个开发人员工具似乎更方便。

But when I add Firebug Lite to JSFiddle , it starts up like this blocking most if not entire output frame. 但是当我将Firebug Lite添加到JSFiddle时 ,它启动就像阻止大多数(如果不是整个输出帧)一样。 On my laptop it blocks the whole frame. 在我的笔记本电脑上它会阻挡整个画面。

SJFiddle Firebug普通窗口

How can I include Firebug Lite to JSFiddle that starts up in minimized mode, like as the bottom horizontal bar when it is minimised or like the small square on bottom-right corner in this image? 如何将Firebug Lite包含在以最小化模式启动的JSFiddle中,如最小化时的底部水平条或此图像右下角的小方块?

JSFiddle Firebug Lite最小化窗口模式

Add this code snippet in HTML to minimize Firebug Lite in JSFiddle: 在HTML中添加此代码段以最小化JSFiddle中的Firebug Lite:

<script type="text/javascript">
    firebug.env.height = 200;
    firebug.env.debug= false;   
    firebug.env.detectFirebug = true;  
</script>

Refer to http://jsfiddle.net/elijahmanor/UYK9G/ for more details. 有关详细信息,请参阅http://jsfiddle.net/elijahmanor/UYK9G/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM