<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Software is hard</title>
	
	<link>http://www.softwareishard.com/blog</link>
	<description>More musings on software development</description>
	<lastBuildDate>Fri, 17 May 2013 15:22:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SoftwareIsHard" /><feedburner:info uri="softwareishard" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>New Firebug feature: Use in Command Line</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/P4uyDtuxRpI/</link>
		<comments>http://www.softwareishard.com/blog/firebug/new-firebug-feature-use-in-command-line/#comments</comments>
		<pubDate>Fri, 17 May 2013 15:22:06 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=697</guid>
		<description><![CDATA[Firebug 1.12 alpha 6 introduces one new feature called simply: Use in Command Line This feature allows referring various page objects (HTML elements, JS objects, network requests, cookies, etc.) from within Firebug Command Line. The user can also use object's properties in JS expressions. See issue 6422 for more details. This post explains the feature [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://getfirebug.com/releases/firebug/1.12/firebug-1.12.0a6.xpi">Firebug 1.12 alpha 6</a> introduces one new feature called simply: <strong>Use in Command Line</strong></p>
<p>This feature allows referring various page objects (HTML elements, JS objects, network requests, cookies, etc.) from within Firebug Command Line.<br />
The user can also use object's properties in JS expressions.</p>
<p>See <a href="http://code.google.com/p/fbug/issues/detail?id=6422">issue 6422</a> for more details.</p>
<p><img src="http://www.softwareishard.com/images/posts/use-in-commandline/useincommandline.png" alt="" title="Use in Command Line" width="520" height="242" class="aligncenter size-full wp-image-3122" /></p>
<p>This post explains the feature in detail and also asks for feedback.</p>
<p><span id="more-697"></span></p>
<h3>How it works</h3>
<p>As depicted on the previous screenshot the feature is represented by a new context menu item called <em>Use in Command Line</em>. This item is available for various objects (in various panels).</p>
<p>The action is simple: an expression <code>$p</code> is inserted into the Command Line if you execute the command. It's a variable that refers to the clicked object. You can also use the variable to access any property of the object.</p>
<p><img src="http://www.softwareishard.com/images/posts/use-in-commandline/commandlinepopup.png" alt="" title="Command Line Popup" width="520" height="249" class="aligncenter size-full wp-image-3124" /></p>
<p>What happens on the screenshot:</p>
<ul>
<li>The DOM panel shows an object <code>person</code> implemented on the page.</li>
<li>The user clicks on the person's value (the green right hand part) and executes <em>Use in Command Line</em>.</li>
<li><em>Command Line popup</em> is opened within the DOM panel (so, the user doesn't have to leave the DOM panel).</li>
<li><code>$p</code> expression is inserted into the Command Line (and the command line automatically gets focus).</li>
<li>The user presses the Enter key to evaluate the expression.</li>
</ul>
<p>Note that the <code>person</code> object implemented on the page looks as follows:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">var</span> person = <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw3">name</span>: <span class="st0">&quot;Bob&quot;</span>,<br />
&nbsp; &nbsp; age: <span class="nu0">38</span><br />
<span class="br0">&#125;</span></div>
<p>If you want to access properties of an object just use dot notation. You can do following in our example.</p>
<p><code>$p.name</code></p>
<p><img src="http://www.softwareishard.com/images/posts/use-in-commandline/accessproperties.png" alt="" title="Access properties" width="520" height="188" class="aligncenter size-full wp-image-3124" /></p>
<p>See, even the auto-completion works as expected!</p>
<h3>Supported Objects</h3>
<p>The feature is implemented for various objects across all Firebug panels. Here is a list of those objects.</p>
<ul>
<li>Any JS object (even functions etc.)</li>
<li>HTML elements</li>
<li>CSS rules and properties</li>
<li>Cookies</li>
<li>Network requests</li>
</ul>
<h3>Call for Feedback</h3>
<p>All objects accessible through the <code>$p</code> variable are coming from the page content except of network requests and cookies.</p>
<p>We are actually logging <code>nsIHttpChannel</code> for network requests and <code>nsICookie</code> for cookies. So, the object comes from chrome (privileged scope) and isn't accessible in the page content. This way, the user has more info, but it could be confusing since the user could expect that the data are actually accessible from the page content (and Firebug is for page content debugging).</p>
<p>Possible options:</p>
<ul>
<li>Do not implement the feature for network requests and cookies</li>
<li>Implement the feature only for XHRs (and show the real <code>XMLHttpRequest</code> instance) and cookie (coming from <code>document.cookie</code>)</li>
<li>Keep it as it is</li>
<li>Anything else?</li>
</ul>
<p>What do you think?</p>
<p><br/></p>
<p>Also, would you like to refer more objects at the same time? Something like having more variables (a history) available: <code>$p0</code>, <code>$p1</code>, <code>$p2</code>, ...</p>
<p>How would you expect it to be working?</p>
<p><br/></p>
<p>Thanks for any feedback!</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/P4uyDtuxRpI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/new-firebug-feature-use-in-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/new-firebug-feature-use-in-command-line/</feedburner:origLink></item>
		<item>
		<title>How to properly filter DOM event logs?</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/syrG7cieWX4/</link>
		<comments>http://www.softwareishard.com/blog/firebug/how-to-properly-filter-dom-event-logs/#comments</comments>
		<pubDate>Fri, 03 May 2013 16:02:13 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[filter]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=686</guid>
		<description><![CDATA[One of the new features introduced in Firebug 1.12 alpha 5 is a filter for DOM event logs (issue 229). Logging of DOM events has been available in Firebug for a long time and the filter should make it more useful and effective in daily usage. The problem is that we are unsure whether UI/UX [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new features introduced in <a href="http://blog.getfirebug.com/2013/05/03/firebug-1-12-alpha-5/">Firebug 1.12 alpha 5</a> is <strong>a filter for DOM event logs</strong> (<a href="http://code.google.com/p/fbug/issues/detail?id=229">issue 229</a>).</p>
<p><a href="http://www.softwareishard.com/blog/firebug/firebug-tip-log-dom-events/">Logging of DOM events</a> has been available in Firebug for a long time and the filter should make it more useful and effective in daily usage.</p>
<p><span class="red">The problem is that we are unsure whether UI/UX of the filter is implemented properly</span>.</p>
<p>So, if you are using this handy feature please read further and let us know what you think (leave a comment below).<br />
<span id="more-686"></span></p>
<h3>Previous Implementation</h3>
<p>See the next screenshot, it shows a menu item that represents the <strong>Log DOM events</strong> feature.</p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/dom-events-filter/log-dom-events1.png" class="aligncenter" width="520" height="337" /></p>
<ul>
<li>Log Events feature can be just switched on or off.</li>
<li>There is no way to pick, which events should be logged for selected node. All events for the node are logged in the Console panel.</li>
<li>So, there might be a lot of logs in the Console (especially those for <code>mousemove</code> events)</li>
</ul>
<h3>New Implementation</h3>
<p>This screenshot shows the new implementation. There is a new submenu that allows to pick what events should be actually logged.</p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/dom-events-filter/log-dom-events2.png" class="aligncenter" width="520" height="584" /></p>
<ul>
<li>You can still click the top level <em>Log Events</em> menu to log all events just like before.</li>
<li>You can also open the submenu and pick only the category of events you are interested at.</li>
<li>There is a tooltip listing all events in the selected category.</li>
<li>The tooltip also shows an example of how to use the feature from Firebug's command line.</li>
</ul>
<h3>Questions</h3>
<ul>
<li>But, is the submenu with event-categories actually needed? Isn't the submenu too long and hard to use?</li>
<li>Wouldn't it be simpler to keep the feature as it was before and just <strong>not log</strong> <code>mousemove</code> events? Is anyone actually interested in logging <code>mousemove</code> events?
</li>
<li>Or is there any other and better solution?</li>
</ul>
<p><br/><br />
What do you think?</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/syrG7cieWX4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/how-to-properly-filter-dom-event-logs/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/how-to-properly-filter-dom-event-logs/</feedburner:origLink></item>
		<item>
		<title>Instant Firebug Starter</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/2Dotf_0ZnKg/</link>
		<comments>http://www.softwareishard.com/blog/firebug/instant-firebug-starter/#comments</comments>
		<pubDate>Thu, 02 May 2013 14:10:56 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Planet Mozilla]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=675</guid>
		<description><![CDATA[I had an opportunity to be a reviewer of a new book about Firebug written by Chandan Luthra. This is actually the second book dedicated to Firebug and so, you might also be interested in the first one. The book is labeled Instant Firebug StarterMonitor, edit, and debug any web page in real time with [...]]]></description>
			<content:encoded><![CDATA[<p>I had an opportunity to be a reviewer of a new book about Firebug written by <strong>Chandan Luthra</strong>. This is actually the second book dedicated to Firebug and so, you might also be interested in <a href="http://www.softwareishard.com/blog/firebug/firebug-15-editing-debugging-and-monitoring-web-pages/">the first one</a>.<br />
<br/><br />
The book is labeled <a href="http://www.amazon.com/Instant-Firebug-Starter-Chandan-Luthra/dp/1782161163">Instant Firebug Starter</a><br/><em>Monitor, edit, and debug any web page in real time with this handy practical guide.</em><br />
<br/><br />
<span id="more-675"></span></p>
<blockquote><p>Instant Firebug Starter is a practical, hands-on guide that provides you with a number of clear step-by-step exercises to help you take advantage of the full power that Firebug offers. This book will give you a great grounding in using Firebug to debug, fix, and optimize your web pages.</p></blockquote>
<p><a href="http://www.amazon.com/Instant-Firebug-Starter-Chandan-Luthra/dp/1782161163"><img alt="" src="http://www.softwareishard.com/images/posts/instant-firebug-starter/instant-firebug-starter.png" title="Instant Firebug Starter" class="center" width="300" height="370" /></a></p>
<p><br/><br />
The book starts with an introduction to the Firebug world, explaining what the tool is for and continues with a description how to successfully install Firebug into your browser. All you need to know if you want to get started with Firebug and tune your web site to perfection.</p>
<p>The next part of the book explains basics of Firebug user interface and gives you an overview of all the panels in Firebug. This is great even for those who have basic understanding of web development and Firebug.</p>
<p>The last part of the book is the most interesting and I believe useful even for advanced web developers and Firebug users. It covers top 17 features you'll want to know about. This is great place to learn some tips &#038; tricks about HTML inspection, editing as well as AJAX debugging or page load performance monitoring.</p>
<p><br/></p>
<blockquote><p>If you are just starting out with web development and looking to improve your site with Firebug, then this guide is for you. If you have a basic understanding of web development then this guide is easy to follow and will benefit your site no end.</p></blockquote>
<p><br/></p>
<p>If it sounds interesting, just go ahead and <a href="http://www.amazon.com/Instant-Firebug-Starter-Chandan-Luthra/dp/1782161163">learn new stuff</a> !</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/2Dotf_0ZnKg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/instant-firebug-starter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/instant-firebug-starter/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: Alternative Firebug Themes</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/w76sP66vvsc/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-alternative-firebug-themes/#comments</comments>
		<pubDate>Sun, 03 Feb 2013 09:43:55 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[stylish]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=651</guid>
		<description><![CDATA[Firebug UI is entirely based on XUL/HTML/CSS and so, it's easy to provide a new set of CSS styles (a theme) that modifies Firebug UI and adjust it to your needs and preferences. One of the typical examples of such modification is changing the background color (dark vs. white). This post explains how to use [...]]]></description>
			<content:encoded><![CDATA[<p>Firebug UI is entirely based on XUL/HTML/CSS and so, it's easy to provide a new set of CSS styles (a theme) that modifies Firebug UI and adjust it to your needs and preferences.</p>
<p>One of the typical examples of such modification is changing the background color (dark vs. white).</p>
<p>This post explains how to use Jason Barnabe's Stylish extension and apply arbitrary CSS on Firebug UI.</p>
<p>Thanks to <a href="https://groups.google.com/forum/#!topic/firebug/Z8kXZ6hcrWA">Luís</a> who mentioned this!</p>
<p><span id="more-651"></span></p>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a><br />
<h3>Step #1: Install Stylish</h3>
<p>Stylish is Firefox add-on and so, just go to Mozilla Add-on site and press <a href="https://addons.mozilla.org/en-US/firefox/addon/stylish/">Add to Firefox</a>.</p>
<p>List of installed/created themes is available in <code>about:addons</code> (<em>Firefox -> Add-ons</em>)</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/firebug-themes/stylish.png" class="alignnone" width="520" height="429" /></p>
<h3>Step #2: Inspect Firebug UI</h3>
<p>In order to find out what CSS rules you want to actually overwrite to modify Firebug UI install <a href="https://addons.mozilla.org/en-us/firefox/addon/dom-inspector-6622/">DOM Inspector</a>. This add-on allows you to see all elements that make up Firebug UI as well as all associated CSS rules and properties.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/firebug-themes/dom-inspector.png" class="alignnone" width="520" height="220" /></p>
<p><em>Firefox -> Web Developer -> DOM Inspector</em></p>
<h3>Step #3: Create New Theme</h3>
<p>Stylish implements its own simple CSS editor that is opened if you click <em>Write New Style</em> button. All you need to do is to provide a name and CSS rules.</p>
<p>In order to change Firebug's panel background color you need to modify <code>panelNode</code> class.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/firebug-themes/my-firebug-theme.png" class="alignnone" width="520" height="271" /></p>
<p><br/><br />
And here is how Firebug UI looks like if the theme is applied:</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/firebug-themes/firebug.png" class="alignnone" width="520" height="178" /></p>
<p>You can also visit <em>userstyles.org</em> and search for available <a href="http://userstyles.org/styles/browse/all/firebug">Firebug themes</a>.</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/w76sP66vvsc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-alternative-firebug-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-alternative-firebug-themes/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: include() command</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/CkDb8367P1c/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-include-command/#comments</comments>
		<pubDate>Sat, 19 Jan 2013 13:37:17 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=636</guid>
		<description><![CDATA[Firebug Command Line is probably one of the most important Firebug features and its value is yet extended by set of built-in commands. One of the new commands, introduced in Firebug 1.11 is include() and this post is intended to explain how to use it and make your development more effective. Firebug Commands Before we [...]]]></description>
			<content:encoded><![CDATA[<p>Firebug <strong>Command Line</strong> is probably one of the most important Firebug features and its value is yet extended by set of built-in commands.</p>
<p>One of the new commands, introduced in Firebug 1.11 is <code>include()</code> and this post is intended to explain how to use it and make your development more effective.</p>
<h3>Firebug Commands</h3>
<p>Before we start with <em>include()</em> command let's take a look at quick summary of all Firebug built-in commands.</p>
<table cellspacing="10" width="100%">
<tr>
<td valign="top">
<code>help</code><br />
<code>$(id)</code><br />
<code>$$(selector)</code><br />
<code>$x(xpath)</code><br />
<code>$0</code><br />
<code>$1</code><br />
<code>$n(index)</code><br />
<code>dir(object)</code><br />
<code>dirxml(node)</code><br />
<code>cd(window)</code>
</td>
<td valign="top">
<code>clear()</code><br />
<code>copy(object)</code><br />
<code>inspect(object)</code><br />
<code>keys(object)</code><br />
<code>values(object)</code><br />
<code>include(url)</code><br />
<code>debug(fn)</code><br />
<code>undebug(fn)</code><br />
<code>monitor(fn)</code><br />
<code>unmonitor(fn)</code>
</td>
<td valign="top">
<code>monitorEvents(object)</code><br />
<code>unmonitorEvents(object)</code><br />
<code>profile([title])</code><br />
<code>profileEnd()</code><br />
<code>table(data[, columns])</code><br />
<code>traceCalls(fn)</code><br />
<code>untraceCalls(fn)</code><br />
<code>traceAll()</code><br />
<code>untraceAll()</code>
</td>
</tr>
</table>
<p>Did you know all of them? See Firebug <a href="https://getfirebug.com/wiki/index.php/Command_Line_API">wiki</a> for more details.</p>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a>
<p>Now learn about <em>include()</em></p>
<p><span id="more-636"></span></p>
<h3>Include Remote Script</h3>
<p>The basic purpose of <em>include()</em> command is to include a remote script into the current page.</p>
<p><code>include("http://code.jquery.com/jquery-latest.min.js")</code></p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/include-command/include-command1.png" class="aligncenter" width="520" height="151" /></p>
<p>In this particular example we included jQuery script and effectively jQuerified the page.</p>
<h3>Create Alias</h3>
<p>It would be irritating to type long URLs (and remember them) every time you reload the page and so, it's possible to create an alias.</p>
<p><code>include("http://code.jquery.com/jquery-latest.min.js", "jquery")</code></p>
<p>Now, all you need to do to include jQuery on your page is type:</p>
<p><code>include("jquery")</code></p>
<p>Aliases are persistent across Firefox restarts and list of existing aliases can be displayed by typing:</p>
<p><code>include();</code></p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/include-command/include-command2.png" class="aligncenter" width="520" height="224" /></p>
<p>To remove an existing alias type:</p>
<p><code>include(null, "jquery");</code></p>
<p><br/></p>
<p>See also Firebug wiki for <a href="https://getfirebug.com/wiki/index.php/Include">include()</a> command.</p>
<p><br/></p>
<p>Do you want to have more built-in commands in Firebug's Command Line? Just leave a comment and we can discuss it!</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/CkDb8367P1c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-include-command/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-include-command/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: Copy &amp; Paste HTML</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/b7EIJlrGInY/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-copy-paste-html/#comments</comments>
		<pubDate>Fri, 07 Dec 2012 13:10:59 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=605</guid>
		<description><![CDATA[Firebug 1.11 final has been just released and one of the new features introduced in this release is related to HTML clipboard. It's now easy to copy entire portions of existing HTML markup and paste it back to the document or even to another window. Also, this feature works for HTML as well as for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://blog.getfirebug.com/2012/12/07/firebug-1-11-0/">Firebug 1.11</a> final has been just released and one of the new features introduced in this release is related to <strong>HTML clipboard</strong>.</p>
<p>It's now easy to copy entire portions of existing HTML markup and paste it back to the document or even to another window.</p>
<p>Also, this feature works for <strong>HTML</strong> as well as for <strong>XML</strong> and <strong>SVG</strong>.</p>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a>
<p><span id="more-605"></span></p>
<h3>HTML Clipboard</h3>
<p><em>Copy</em> and <em>Paste</em> actions are available through context menu associated with an HTML element. <em>Cut</em> action is actually not implemented, but you can remove elements in the HTML panel by selecting them and pressing <em>Delete</em> key or picking <em>Delete Element</em> from the context menu.</p>
<p>In order to copy HTML markup just right-click on an element.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/htmlcopypaste/html-copy.png" title="Copy HTML from the Console panel" class="aligncenter" /></p>
<p>&nbsp;</p>
<p>You can also right-click on an element logged in the Console panel. You'll get the same context menu.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/htmlcopypaste/html-copy-console.png" title="Paste HTML" class="aligncenter" /></p>
<p>You can paste the clipboard content as a HTML markup to any text editor. In this particular case (see the screenshot) the text would be:</p>
<p><code>&lt;div&gt;Hello World!&lt;/div&gt;</code></p>
<p>&nbsp;</p>
<p>Or you can paste it into any document through Firebug HTML Panel</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/htmlcopypaste/html-paste.png" title="HTML Duplicated" class="aligncenter" /></p>
<p>&nbsp;</p>
<p>In this example, the <code>&lt;div&gt;</code> element is now duplicated.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/htmlcopypaste/html-paste-finished.png" title="HTML Duplicated" class="aligncenter" /></p>
<p><em>You can also copy valid HTML markup from any text editor and paste it into the HTML panel.<br />
</em></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/b7EIJlrGInY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-copy-paste-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-copy-paste-html/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: Styled Logging</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/LvkNdHsNG_4/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-styled-logging/#comments</comments>
		<pubDate>Fri, 16 Nov 2012 17:05:42 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[styled logging]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=594</guid>
		<description><![CDATA[Styled logging has been available in Firebug for long time and since version 1.11 beta 2 improves this little nifty feature, let's take a sneak peak at what it does and how it could be useful. &#160; Styled logging allows the user of console.log() API to use custom CSS styles. How to specify custom CSS [...]]]></description>
			<content:encoded><![CDATA[<p>Styled logging has been available in Firebug for long time and since version <a href="http://blog.getfirebug.com/2012/11/16/firebug-1-11-beta-2/">1.11 beta 2</a> improves this little nifty feature, let's take a sneak peak at what it does and how it could be useful.</p>
<p>&nbsp;</p>
<p><em>Styled logging allows the user of console.log() API to use custom CSS styles.</em></p>
<h3>How to specify custom CSS</h3>
<p>First of all take a look at a simple example:</p>
<div class="dean_ch" style="white-space: wrap;">console.<span class="me1">log</span><span class="br0">&#40;</span><span class="st0">&quot;%cred text&quot;</span>, <span class="st0">&quot;color:red&quot;</span><span class="br0">&#41;</span>;</div>
<p>Where the %c is used as a style format variable. This is how the log appears in the Console panel.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/styled-logging/red-text.png" title="Custom CSS style for a console.log()" class="aligncenter" width="520" height="150" /></p>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a>
<p><span id="more-594"></span></p>
<p>Style format variable can be used more then once in the log. The custom style is always applied till another one is used.</p>
<div class="dean_ch" style="white-space: wrap;">console.<span class="me1">log</span><span class="br0">&#40;</span><span class="st0">&quot;%cred %cblue&quot;</span>, <span class="st0">&quot;color:red&quot;</span>, <span class="st0">&quot;color:blue&quot;</span><span class="br0">&#41;</span>;</div>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/styled-logging/red-green-text.png" title="Custom CSS style for a console.log()" class="aligncenter" width="520" height="150" /></p>
<p>&nbsp;</p>
<p>Here is another example using font-size and text-shadow:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">var</span> cssRule =<br />
&nbsp; &nbsp; <span class="st0">&quot;color: rgb(249, 162, 34);&quot;</span> +<br />
&nbsp; &nbsp; <span class="st0">&quot;font-size: 60px;&quot;</span> +<br />
&nbsp; &nbsp; <span class="st0">&quot;font-weight: bold;&quot;</span> +<br />
&nbsp; &nbsp; <span class="st0">&quot;text-shadow: 1px 1px 5px rgb(249, 162, 34);&quot;</span> +<br />
&nbsp; &nbsp; <span class="st0">&quot;filter: dropshadow(color=rgb(249, 162, 34), offx=1, offy=1);&quot;</span>;<br />
console.<span class="me1">log</span><span class="br0">&#40;</span><span class="st0">&quot;%cHello World&quot;</span>, cssRule<span class="br0">&#41;</span>;<br />
&nbsp;</div>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/styled-logging/font-size-and-shadow.png" title="Custom CSS style for a console.log()" class="aligncenter" width="520" height="174" /></p>
<h3>Image Logging</h3>
<p>Let's see a bit more practical example of styled logging. In this case we'll implement a simple new method that can be used to log images.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="coMULTI">/**<br />
&nbsp;* url: URL of the image<br />
&nbsp;* text: A text message<br />
&nbsp;* collapsed: True if the image should be collapsed<br />
&nbsp;*/</span><br />
<span class="kw2">function</span> logImage<span class="br0">&#40;</span>url, text, collapsed<span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>collapsed<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; console.<span class="me1">groupCollapsed</span><span class="br0">&#40;</span>text<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; console.<span class="me1">group</span><span class="br0">&#40;</span>text<span class="br0">&#41;</span>;</p>
<p>&nbsp; &nbsp; <span class="kw2">var</span> cssRule = <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;background-image: url('&quot;</span> + url + <span class="st0">&quot;');&quot;</span> +<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;background-repeat: no-repeat;&quot;</span> +<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;display: block;&quot;</span> +<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;width: 100%;&quot;</span> +<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;height: 70px;&quot;</span> +<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;background-size: contain;&quot;</span>;</p>
<p>&nbsp; &nbsp; console.<span class="me1">log</span><span class="br0">&#40;</span><span class="st0">&quot;%c&quot;</span>, cssRule<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; console.<span class="me1">groupEnd</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></div>
<p>Usage is simple:</p>
<div class="dean_ch" style="white-space: wrap;">logImage<span class="br0">&#40;</span><span class="st0">&quot;https://getfirebug.com/img/firebug-logo.png&quot;</span>, <span class="st0">&quot;Firebug Logo&quot;</span><span class="br0">&#41;</span>;<br />
logImage<span class="br0">&#40;</span><span class="st0">&quot;https://getfirebug.com/img/mozilla-logo.png&quot;</span>, <span class="st0">&quot;Mozilla Logo&quot;</span>, <span class="kw2">true</span><span class="br0">&#41;</span>;<br />
logImage<span class="br0">&#40;</span><span class="st0">&quot;http://blog.getfirebug.com/getfirebug_content/uploads/2012/11/post-message-log.png&quot;</span>, <span class="st0">&quot;A screenshot&quot;</span><span class="br0">&#41;</span>;</div>
<p>And this is how the logs appear in the Console panel:</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/styled-logging/image-logging.png" title="Image logging" class="aligncenter" width="520" height="264" /></p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/LvkNdHsNG_4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-styled-logging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-styled-logging/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: Observe window.postMessage() calls</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/ALu4CvuESBg/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-observe-window-postmessage-calls/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 16:17:41 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[monitor events]]></category>
		<category><![CDATA[postMessage]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=564</guid>
		<description><![CDATA[One of the new improvements introduced in Firebug 1.11 beta 1 is better monitoring of messages sent between frames/windows. These messages are sent via window.postMessage. Couple of quick notes about window.postMessage: It enables cross-origin communication. It places a message in the message queue associated with the thread that created the specified window and returns without [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new improvements introduced in Firebug 1.11 beta 1 is better monitoring of messages sent between frames/windows. These messages are sent via <a href="https://developer.mozilla.org/en-US/docs/DOM/window.postMessage">window.postMessage</a>.</p>
<p>Couple of quick notes about <code>window.postMessage</code>:</p>
<ul>
<li>It enables cross-origin communication.</li>
<li>It places a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.</li>
</ul>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a>
<p><span id="more-564"></span></p>
<h3>window.postMessage()</h3>
<p>Let's see a quick example showing how to use <em>postMessage()</em>.</p>
<p>Posting a message:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">var</span> iframe = document.<span class="me1">getElementById</span><span class="br0">&#40;</span><span class="st0">&quot;iframe&quot;</span><span class="br0">&#41;</span>;<br />
iframe.<span class="me1">contentWindow</span>.<span class="me1">postMessage</span><span class="br0">&#40;</span><span class="st0">&quot;Hello World!&quot;</span>, <span class="st0">&quot;*&quot;</span><span class="br0">&#41;</span>;</div>
<p>Receiving a message:</p>
<div class="dean_ch" style="white-space: wrap;">
window.<span class="me1">addEventListener</span><span class="br0">&#40;</span><span class="st0">&quot;message&quot;</span>, receiveMessage, <span class="kw2">false</span><span class="br0">&#41;</span>;<br />
<span class="kw2">function</span> receiveMessage<span class="br0">&#40;</span>event<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; console.<span class="me1">log</span><span class="br0">&#40;</span>event.<span class="me1">data</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></div>
<h3>monitorEvents()</h3>
<p>In order to monitor messages sent to the <em>iframe</em> in the previous example we'll utilize <code>monitorEvents</code> command available on Firebug's Command Line (see also <a href="http://www.softwareishard.com/blog/firebug/firebug-tip-log-dom-events/">Log DOM Events</a>)</p>
<p>All you need to do is execute the following expression on the Command Line:</p>
<div class="dean_ch" style="white-space: wrap;">monitorEvents<span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">&quot;iframe&quot;</span><span class="br0">&#41;</span>.<span class="me1">contentWindow</span>, <span class="st0">&quot;message&quot;</span><span class="br0">&#41;</span></div>
<p>To stop monitoring, you need:</p>
<div class="dean_ch" style="white-space: wrap;">unmonitorEvents<span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">&quot;iframe&quot;</span><span class="br0">&#41;</span>.<span class="me1">contentWindow</span>, <span class="st0">&quot;message&quot;</span><span class="br0">&#41;</span></div>
<p>As soon as the monitoring is on and a message is sent to <em>iframe</em>, you should see a log in the Console panel.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/postMessage/console-log.png" title="Post message log in the Console panel" class="alignnone" width="520" height="200" /></p>
<p>The log has three parts:</p>
<ul>
<li>origin window/iframe URL</li>
<li>data associated with the message</li>
<li>target window/iframe object</li>
</ul>
<p>If you click the log you'll be navigated into the DOM panel for detailed inspection of the <em>MessageEvent</em> object. Check out the next screenshot.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/postMessage/dom-panel.png" title="MessageEvent inspection in the DOM panel" class="alignnone" width="520" height="409" /></p>
<p><br/></p>
<p>Install <a href="http://releases.mozilla.org/pub/mozilla.org/addons/1843/firebug-1.11.0b1-fx.xpi">Firebug 1.11 beta 1</a> and checkout <a href="http://www.softwareishard.com/firebug/tips/postMessage/index.html">live example</a>!</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/ALu4CvuESBg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-observe-window-postmessage-calls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-observe-window-postmessage-calls/</feedburner:origLink></item>
		<item>
		<title>Support for performance.timing in Firebug</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/dMTqQrhBZyo/</link>
		<comments>http://www.softwareishard.com/blog/firebug/support-for-performance-timing-in-firebug/#comments</comments>
		<pubDate>Fri, 19 Oct 2012 16:19:59 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[timing]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=554</guid>
		<description><![CDATA[One of the new features introduced in Firebug 1.11 alpha 5 is new waterfall timing graph displayed in Firebug's Console panel and visualizing Navigation Timing data (measured events related to page load performance). You can see the graph if you execute performance.timing expression in Firebug command line. From MDN: The Navigation Timing API provides data [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new features introduced in <a href="https://getfirebug.com/releases/firebug/1.11/firebug-1.11.0a5.xpi">Firebug 1.11 alpha 5</a> is new waterfall timing graph displayed in Firebug's Console panel and visualizing <a href="http://www.w3.org/TR/2012/PR-navigation-timing-20120726/">Navigation Timing</a> data (measured events related to page load performance). </p>
<p>You can see the graph if you execute <code>performance.timing</code> expression in Firebug command line.</p>
<p>From <a href="https://developer.mozilla.org/en-US/docs/Navigation_timing">MDN</a>:</p>
<blockquote><p>The Navigation Timing API provides data that can be used to measure the performance of a website. Unlike other JavaScript-based mechanisms that have been for the same purpose this API can provide end-to-end latency data that can be more useful and accurate.</p></blockquote>
<p><br/></p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/navigationtiming/simple-log.png" title="Performance.timing log in the Console panel" class="aligncenter" width="520" height="295" /></p>
<p><span id="more-554"></span></p>
<ul>
<li><code>Page Load 948ms</code> Time needed to load the page (from <em>navigationStart</em> to <em>loadEventEnd</em>).</li>
<li><code>Waiting 11ms</code> Waiting for response time (from <em>requestStart</em> to <em>responseStart</em>)</li>
<li><code>Receiving 37ms</code> Time needed to download the response (from <em>responseStart</em> to <em>responseEnd</em>)</li>
<li><code>DOM Processing 883 ms</code> Time needed to build DOM (from <em>responseEnd</em> to <em>loadEventStart</em></li>
<li><code>DOMContentLoaded 34ms</code> Time needed to handle <em>DOMContentLoaded</em> event (from <em>domContentLoadedEventStart</em> to <em>domContentLoadedEventEnd</em>)
<li><code>onLoad 4ms</code> Time needed to handle <em>onLoad</em> event (from <em>loadEventStart</em> to <em>loadEventEnd</em>)</li>
</ul>
<p>Some events are visualized using vertical lines on the graph. If you need detailed info about what they represent hover mouse over the graph and check the info tip.</p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/navigationtiming/info-tip.png" title="Info tip for performance.timing graph" class="aligncenter" width="520" height="572" /></p>
<p>The screenshot also indicates that <strong>Performance Timing</strong> <em>(Detailed Timing)</em> section is expandable providing detailed information about all events, relative time since the page load beginning and also short description for every individual event.</p>
<p>You can hover mouse over individual entries in this table and see appropriate vertical line dynamically rendered over the waterfall graph to show when exactly the event happened.<br />
<br/><br />
If you want to inspect the original values stored in <code>window.performance.timing</code> object, right click on the green object-log at the bottom and pick <em>Inspect in DOM Panel</em> from the context menu.</p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/navigationtiming/inspect-in-dom-panel.png" title="Inspect performance.timing data in the DOM panel" class="aligncenter" width="520" height="337" /></p>
<p>You should be navigated to the DOM panel and see all the values as they are exposed to the page.</p>
<p><img alt="" src="http://www.softwareishard.com/images/posts/navigationtiming/dom-panel.png" title="Performance.timing data in the DOM panel" class="aligncenter" width="520" height="191" /></p>
<div class="bullet"></div>
<p>Note that data displayed by the Net panel are collected by Firebug while data stored within <code>performance.timing</code> object are collected by the browser itself.</p>
<p><br/></p>
<p>Do you have any tips how to improve this feature?</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/dMTqQrhBZyo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/support-for-performance-timing-in-firebug/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/support-for-performance-timing-in-firebug/</feedburner:origLink></item>
		<item>
		<title>Firebug Tip: The Start Button</title>
		<link>http://feedproxy.google.com/~r/SoftwareIsHard/~3/j7HarkMdBJ0/</link>
		<comments>http://www.softwareishard.com/blog/firebug/firebug-tip-the-start-button/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 07:19:16 +0000</pubDate>
		<dc:creator>Honza</dc:creator>
				<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firebug Tip]]></category>
		<category><![CDATA[Planet Mozilla]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[start button]]></category>
		<category><![CDATA[status bar]]></category>

		<guid isPermaLink="false">http://www.softwareishard.com/blog/?p=534</guid>
		<description><![CDATA[The Firebug entry point and also the only Firebug UI visible immediately after installation is s Firebug button (icon) placed at the right side of the navigation Firefox toolbar. This button is called Firebug Start Button and its main purpose is to open Firebug UI by clicking on it (you can also use F12 key [...]]]></description>
			<content:encoded><![CDATA[<p>The Firebug entry point and also the only Firebug UI visible immediately after installation is s Firebug button (icon) placed at the right side of the navigation Firefox toolbar.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button.png" title="Firebug Start Button" class="aligncenter" width="293" height="136" /></p>
<p>This button is called <strong>Firebug Start Button</strong> and its main purpose is to open Firebug UI by clicking on it (you can also use F12 key to open Firebug) but, the button does much more than just opening Firebug...</p>
<p class="firebugTipsLink">See all <a href="http://www.softwareishard.com/blog/firebug-tips/">Firebug tips</a>
<p><span id="more-534"></span></p>
<h3>Activation Status</h3>
<p>Another purpose of the start button is indicating Firebug activation status. If Firebug is opened in your browser and collecting information about the current page (e.g. HTTP traffic) - the button is colored. If Firebug is deactivated and not representing any performance penalties - the button is grey.</p>
<table cellspacing="10" style="margin-bottom: 10px;">
<tr>
<td>
<img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-activated.png" title="Firebug Start Button" class="aligncenter" width="50" height="24" style="vertical-align:bottom"/>&nbsp;Firebug is activated
</td>
</tr>
<tr>
<td>
<img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-deactivated.png" title="Firebug Start Button" class="aligncenter" width="50" height="24" style="vertical-align:bottom"/>&nbsp;Firebug is deactivated
</td>
</tr>
</table>
<p>There is also a tooltip associated with the button displaying detailed info about activation status.</p>
<table cellspacing="10" style="margin-bottom: 10px;" width="100%">
<tr style="vertical-align:top;">
<td>
<img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-deactivated-tooltip.png" title="Firebug Start Button" class="aligncenter" width="229" height="139" style="vertical-align:bottom"/><br/><br />
Firebug is fully deactivated.
</td>
<td>
<img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-activated-tooltip.png" title="Firebug Start Button" class="aligncenter" width="229" height="225" style="vertical-align:bottom"/><br/><br />
Firebug is activated on one page and panel Cookies is disabled.
</td>
</tr>
</table>
<h3>Errors</h3>
<p>If there are any errors on the page, the button indicates that by showing a badge with number of errors.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-errors.png" title="Start Button Errors" class="aligncenter" width="204" height="82" /></p>
<h3>Menu</h3>
<p>There is also a popup menu associated with the button</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-menu.png" title="Start Button Menu" class="aligncenter" width="427" height="262" /></p>
<p>By default, the button indicates errors on the page and Firebug UI is located at the bottom. See detailed description of individual menu items on <a href="https://getfirebug.com/wiki/index.php/Start_Button">Firebug wiki</a>.</p>
<h3>Start button at the bottom</h3>
<p>If you prefer to have the button at the bottom of the browser window (within Firefox add-on bar), use Firefox Customize Toolbar dialog.</p>
<p>Open the dialog through <em>Toolbar Layout...</em> menu.</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/toolbar-layout.png" title="Toolbar Layout dialog" class="aligncenter" width="506" height="308" /></p>
<p>As soon as the dialog is opened, you can drag the start button icon and drop it at the add-bar at the bottom of the browser window. That's it, don't forget to make sure the add-on bar is checked to be displayed (see the screenshot above).</p>
<p><img alt="" src="http://www.softwareishard.com/firebug/tips/start-button/start-button-customization.png" title="Move the icon at the bottom" class="aligncenter" width="264" height="84" /><br />
<br/></p>
<div class="bullet">&nbsp;</div>
<p><br/><br />
If you have any tips how to improve this feature leave a comment, thanks!</p>
<img src="http://feeds.feedburner.com/~r/SoftwareIsHard/~4/j7HarkMdBJ0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.softwareishard.com/blog/firebug/firebug-tip-the-start-button/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.softwareishard.com/blog/firebug/firebug-tip-the-start-button/</feedburner:origLink></item>
	</channel>
</rss>
