<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>~robcee/ &#187; Mozilla</title>
	<atom:link href="http://antennasoft.net/robcee/category/mozilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://antennasoft.net/robcee</link>
	<description>more than just sandwiches</description>
	<lastBuildDate>Fri, 20 Apr 2012 18:26:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Bookmarks Deiconizer, userChrome edition</title>
		<link>http://antennasoft.net/robcee/2012/04/20/bookmarks-deiconizer-userchrome-edition/</link>
		<comments>http://antennasoft.net/robcee/2012/04/20/bookmarks-deiconizer-userchrome-edition/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 18:25:06 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=680</guid>
		<description><![CDATA[A couple of years ago, I made a simple addon to remove the icons from bookmarks in the bookmarks toolbar in Firefox. It was a fun hack, but I knew then that it wasn&#8217;t the right way to do this. Nevertheless, easy is the enemy of perfect (or something) so I kept on using it, [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago, I <a href="http://antennasoft.net/robcee/2010/11/26/bookmarks-deiconizer-a-firefox-addon/">made</a> a simple <a href="https://addons.mozilla.org/en-US/firefox/addon/bookmarks-deiconizer/">addon</a> to remove the icons from bookmarks in the bookmarks toolbar in Firefox. It was a fun hack, but I knew then that it wasn&#8217;t the right way to do this. Nevertheless, easy is the enemy of perfect (or something) so I kept on using it, and AMO kindly kept on updating it when new versions of Firefox were released.</p>
<p>All was right in the world.</p>
<p>Then this week, some changes to Firefox&#8217; toolbar caused the add-on to stop working. It still works if you do the enable-disable dance in the Addons Manager, but that&#8217;s no way to live everytime you restart your browser or open a new window. Something had to give!</p>
<p>To banish your bookmarks icons forever, add the following to your userChrome.css file (it&#8217;s in your <a href="http://support.mozilla.org/en-US/kb/Profiles?s=profile+directory&#038;r=1&#038;e=es&#038;as=s#w_how-do-i-find-my-profile">Profile Directory</a>&#8216;s chrome subdirectory). If it doesn&#8217;t exist, create a new file named userChrome.css and add:</p>
<pre style="border: 1px dashed grey; overflow-x: auto">
scrollbox#PlacesToolbarItems &gt; toolbarbutton.bookmark-item &gt; .toolbarbutton-icon {
  display: none;
}</pre>
<p>Save the file, restart your browser and your icons should be gone forever.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2012/04/20/bookmarks-deiconizer-userchrome-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Devtools Team in London</title>
		<link>http://antennasoft.net/robcee/2012/03/26/firefox-devtools-team-in-london/</link>
		<comments>http://antennasoft.net/robcee/2012/03/26/firefox-devtools-team-in-london/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 17:51:53 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=673</guid>
		<description><![CDATA[Last week we got the whole DevTools group together in beautiful, sunny London England to hang out and hack on a few things. Sunny? Yeah, unexpected, but made for some great picture taking. At the risk of saturating Planet with developer tools-related updates, there was some pretty magical stuff happening. Our own Debugger task force [...]]]></description>
			<content:encoded><![CDATA[<p><a title="group by robceemoz, on Flickr" href="http://www.flickr.com/photos/robceemoz/6860765358/"><img src="http://farm8.staticflickr.com/7272/6860765358_82ef0b6a6c.jpg" alt="group" width="500" height="394" /></a></p>
<p>Last week we got the whole DevTools group together in beautiful, sunny London England to hang out and hack on a few things. Sunny? Yeah, unexpected, but made for some great picture taking.</p>
<p>At the risk of saturating Planet with developer tools-related updates, there was some pretty <a href="https://vimeo.com/39209659">magical</a> <a href="https://blog.mozilla.com/jorendorff/2012/03/26/loupe/">stuff</a> happening.</p>
<p>Our own Debugger task force put together the start of something wonderful. It&#8217;s a very early prototype at the moment, but with a bit of bug filing and polish, I think we&#8217;ll be able to get it into something that&#8217;s functional and not hard to look at in the next few weeks.</p>
<p>&nbsp;</p>
<p>stay tuned…</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2012/03/26/firefox-devtools-team-in-london/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Announcing new Developer Tools peer: Panagiotis Astithas</title>
		<link>http://antennasoft.net/robcee/2012/02/09/announcing-new-developer-tools-peer-panagiotis-astithas/</link>
		<comments>http://antennasoft.net/robcee/2012/02/09/announcing-new-developer-tools-peer-panagiotis-astithas/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 13:44:48 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=669</guid>
		<description><![CDATA[For Panagiotis&#8217; outstanding contributions on the newly-landed Debugger front-end, we&#8217;re making him a peer. Congratulations, past! May all your reviews be delicious.]]></description>
			<content:encoded><![CDATA[<p>For Panagiotis&#8217; outstanding contributions on the newly-landed Debugger front-end, we&#8217;re making him a peer.</p>
<p>Congratulations, past! May all your reviews be delicious.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2012/02/09/announcing-new-developer-tools-peer-panagiotis-astithas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TextArea Fallback for SourceEditor going away</title>
		<link>http://antennasoft.net/robcee/2012/02/08/textarea-fallback-for-sourceeditor-going-away/</link>
		<comments>http://antennasoft.net/robcee/2012/02/08/textarea-fallback-for-sourceeditor-going-away/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 16:58:19 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[scratchpad]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=662</guid>
		<description><![CDATA[Some time ago, way back in the heady days of Firefox 7, Mihai Șucan began work to incorporate the Orion text editor into our codebase and landed it in Firefox 8. At the time, we had some concerns around accessibility and localization: would Orion be up to the task of being an in-browser editor for the [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago, way back in the heady days of Firefox 7, <a href="http://www.robodesign.ro/mihai/blog">Mihai Șucan</a> began work to incorporate the Orion text editor into our <a href="http://mxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/">codebase</a> and landed it in Firefox 8. At the time, we had some concerns around accessibility and localization: would Orion be up to the task of being an in-browser editor for the Scratchpad?</p>
<p>We discussed some possible ways to mitigate this and settled on including a TextArea-based fallback. Mihai&#8217;s done a tremendous job of providing a SourceEditor API in the browser that abstracts a lot of Orion&#8217;s own interface into a more general-purpose editor widget. In Firefox 10, we&#8217;ve enabled Orion by default in the Scratchpad for the first time. Cedric Vivier used the SourceEditor API for the Style Editor and it&#8217;s worth noting that it does not support the TextArea fallback at all in Firefox 11.</p>
<p>Now we&#8217;re trying to add some important new features to the SourceEditor component. Things like &#8220;Find in File&#8221;, &#8220;Incremental Search&#8221;, &#8220;Context Menus&#8221;… Y&#8217;know, things you&#8217;d expect from any normal text editor. The TextArea fallback has made that increasingly difficult to do and in some cases, impossible. The cost of maintaining this API has become untenable for future work.</p>
<p>So we&#8217;ve <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=717373">removed</a> the TextArea fallback for Firefox 13.</p>
<p>This may have some unforeseen implications for us. We discovered earlier this week that at least one popular addon was using the SourceEditor and I wanted to broadcast this here just in case there are other developers or users who rely on the TextArea fallback. If you are one of these people and this is going to cause pain, please post here, to dev.apps.firefox or file a <a href="https://bugzilla.mozilla.org/enter_bug.cgi?alias=&amp;assigned_to=nobody%40mozilla.org&amp;blocked=&amp;bug_file_loc=http%3A%2F%2F&amp;bug_severity=normal&amp;bug_status=NEW&amp;cf_blocking_191=---&amp;cf_blocking_192=---&amp;cf_blocking_193=---&amp;cf_status_191=---&amp;cf_status_192=---&amp;cf_status_193=---&amp;comment=&amp;component=Developer%20Tools&amp;contenttypeentry=&amp;contenttypemethod=autodetect&amp;contenttypeselection=text%2Fplain&amp;data=&amp;dependson=&amp;description=&amp;flag_type-203=X&amp;flag_type-270=X&amp;flag_type-271=X&amp;flag_type-325=X&amp;flag_type-369=X&amp;flag_type-37=X&amp;flag_type-370=X&amp;flag_type-385=X&amp;flag_type-4=X&amp;flag_type-485=X&amp;flag_type-486=X&amp;flag_type-5=X&amp;flag_type-589=X&amp;flag_type-590=X&amp;flag_type-604=X&amp;flag_type-605=X&amp;flag_type-607=X&amp;flag_type-617=X&amp;flag_type-619=X&amp;form_name=enter_bug&amp;keywords=&amp;maketemplate=Remember%20values%20as%20bookmarkable%20template&amp;op_sys=All&amp;priority=--&amp;product=Firefox&amp;qa_contact=developer.tools%40firefox.bugs&amp;rep_platform=All&amp;short_desc=&amp;status_whiteboard=&amp;target_milestone=---&amp;version=unspecified">bug</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2012/02/08/textarea-fallback-for-sourceeditor-going-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 11 Devtools Additions</title>
		<link>http://antennasoft.net/robcee/2012/01/04/firefox-11-devtools-additions/</link>
		<comments>http://antennasoft.net/robcee/2012/01/04/firefox-11-devtools-additions/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 15:59:00 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[highlighter]]></category>
		<category><![CDATA[inspector]]></category>
		<category><![CDATA[styleeditor]]></category>
		<category><![CDATA[tilt]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=657</guid>
		<description><![CDATA[With the Page Inspector landed for Firefox 10 (currently in Beta), we&#8217;re adding to it with a couple of exciting new features for Firefox 11 (now on Aurora). The first of these features is somewhat complementary to the Page Inspector and lives in its own window. The Style Editor is the hard work of Cedric [...]]]></description>
			<content:encoded><![CDATA[<p>With the Page Inspector landed for <a href="http://hacks.mozilla.org/2011/11/developer-tools-in-firefox-aurora-10/">Firefox 10</a> (currently in <a href="http://www.mozilla.org/en-US/firefox/channel/">Beta</a>), we&#8217;re adding to it with a couple of exciting new features for <a href="http://hacks.mozilla.org/2011/12/new-developer-tools-in-firefox-11-aurora/">Firefox 11</a> (now on <a href="http://www.mozilla.org/en-US/firefox/channel/">Aurora</a>).</p>
<p>The first of these features is somewhat complementary to the Page Inspector and lives in its own window. The Style Editor is the hard work of Cedric Vivier and is a unique tool for editing CSS in the Web Browser. You can edit styles in a web page and immediately see the results. When you have something you like, you can save the CSS to disk and incorporate the changes on your website.</p>
<p>To access it, use Shift-F7.</p>
<p>It would be grossly unfair to not thank Paul Rouget, Dão Gottwald and Stephen Horlander for their great work reskinning the Style Editor for this release. Paul did a fantastic job on the styling while Dão kept the reviews flowing, none of which would have been possible without Stephen&#8217;s brilliant colors and design tweaks.</p>
<p>Another major feature we&#8217;ve landed in Firefox 11 is Tilt – a 3D View of the page&#8217;s DOM. Last year around this time, I suggested this as a possible alternative to the standard highlighter view most inspectors give developers. That became a <a href="http://blog.mozilla.com/tilt/">Google Summer of Code</a> project implemented by the more-than-capable Victor Porof who later managed the port to Firefox itself with reviews from Cedric Vivier and Benoit Jacob.</p>
<p>We have yet to see what kind of impact this sort of visualization has for developers, but I think as more people get used to having it, it&#8217;s going to become an invaluable tool for acquiring a high-level overview of the structure of a web-page and eventually, become a useful playground for manipulating and interacting with the structure of the page itself.</p>
<p>I&#8217;m really interested to see what people can do with this. We&#8217;re already seeing some <a href="http://webscenery.tumblr.com/">strange</a> and interesting applications of it on the web, but I think having a 3D library capable of rendering these types of meshes in Firefox itself is going to be an interesting area for exploration.</p>
<p>Happy 2012!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2012/01/04/firefox-11-devtools-additions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New DevTools Module Peers</title>
		<link>http://antennasoft.net/robcee/2011/12/21/new-devtools-module-peers/</link>
		<comments>http://antennasoft.net/robcee/2011/12/21/new-devtools-module-peers/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:35:40 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=653</guid>
		<description><![CDATA[Congratulations to Paul Rouget and Joe Walker! In recognition of your outstanding contributions, you are now full-fledged peers of the Firefox DevTools module. May your review queues be filled with outstanding patches of awesomeness.]]></description>
			<content:encoded><![CDATA[<p>Congratulations to Paul Rouget and Joe Walker! In recognition of your outstanding contributions, you are now full-fledged peers of the Firefox DevTools module. May your review queues be filled with outstanding patches of awesomeness.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2011/12/21/new-devtools-module-peers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Console Key Change: Cmd+Opt+K on Mac</title>
		<link>http://antennasoft.net/robcee/2011/12/06/web-console-key-change-cmdoptk-on-mac/</link>
		<comments>http://antennasoft.net/robcee/2011/12/06/web-console-key-change-cmdoptk-on-mac/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 00:24:16 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=651</guid>
		<description><![CDATA[If you&#8217;re on Nightly, you may wonder what happened to the keyboard shortcut for the Web Console on OS X. It moved and is now on Cmd+Opt+K. That happened with a patch to move the Page Inspector to Cmd+Opt+I in bug 689924. We had a bug to add the original keybinding back, but for several [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re on Nightly, you may wonder what happened to the keyboard shortcut for the Web Console on OS X. It moved and is now on Cmd+Opt+K. That happened with a patch to move the Page Inspector to Cmd+Opt+I in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=689924">bug 689924</a>.</p>
<p>We had a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=706204">bug</a> to add the original keybinding back, but for several good reasons this wasn&#8217;t done. If you feel strongly about it, comment in that bug and we&#8217;ll consider reopening it. This is a limited-time-offer, though, and if you don&#8217;t get your opinions in before December 20th, I&#8217;m afraid we&#8217;ll just leave it WONTFIXed.</p>
<p>If this is hugely painful for you because you&#8217;ve gotten used to and love this keyboard shortcut and find it impossible to learn a new key, you can also download Tim Taubert&#8217;s tremendous add-on <a href="https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/">Customizable Shortcuts</a> on AMO (or <a href="https://github.com/ttaubert/customizable-shortcuts">github</a>!).</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2011/12/06/web-console-key-change-cmdoptk-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Stuff: Style Editor, Debugger, Inspector, Web Console; Contributors!</title>
		<link>http://antennasoft.net/robcee/2011/12/06/new-stuff-style-editor-debugger-inspector-web-console-contributors/</link>
		<comments>http://antennasoft.net/robcee/2011/12/06/new-stuff-style-editor-debugger-inspector-web-console-contributors/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 15:48:37 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=644</guid>
		<description><![CDATA[Hey! There&#8217;s some hot new stuff in Nightlies you might not be aware of. It&#8217;s called the Style Editor and, as it says on the tin, it&#8217;s for editing CSS of your web page. You can find it in the Web Developer menu. &#8220;But, you can already do that with the Rule View in the [...]]]></description>
			<content:encoded><![CDATA[<p>Hey! There&#8217;s some hot new stuff in Nightlies you might not be aware of. It&#8217;s called the Style Editor and, as it says on the tin, it&#8217;s for editing CSS of your web page. You can find it in the Web Developer menu.</p>
<p>&#8220;But, you can already do that with the Rule View in the Page Inspector thing in Aurora,&#8221; I can hear you protest. That&#8217;s true, you&#8217;re absolutely right, but with the Style Editor, you&#8217;re editing all of the CSS files in an editor. Not just the rules applied to a specific node. This has some nice properties.</p>
<p>1. You get to use Orion. Complete with prettified CSS so it&#8217;ll even work on sites that have minified their style sheets.</p>
<p>2. You can easily save or export changes you make. This is a huge benefit when you want to tweak some styling and then get it back into the original source.</p>
<p>3. It&#8217;s awesome.</p>
<p>Please try it out and file bugs if you find them. We love that. We have a few tweaks we want to land before we ship it to Aurora, but if you spot any bad behavior, we&#8217;d like to know about it.</p>
<p>If that weren&#8217;t enough, we have a Debugger getting ready to make its debut in Mozilla Central and Nightly builds. It likely won&#8217;t be turned on at first as we work to beef up its capabilities. But soon, over the next release or two, this will become available debug your JavaScript. I&#8217;ll talk more about that when it&#8217;s ready.</p>
<p>But, do you know what&#8217;s really cool? We have contributors showing up in our IRC channel and submitting patches. Over the last couple of weeks, I&#8217;ve seen no fewer than 5 new &#8220;faces&#8221; in our IRC channel talking to the developers, filing bugs and submitting patches. This is fantastic stuff! For most people, their time from zero experience with Mozilla code to first patch is a day or two. Most of the hard work is setting up the build environment on their systems and wrangling with Mercurial to get the code onto their machine.</p>
<p>Extra thanks and kudos to, sonny, hardfire, nigelb, soswow and anybody I may have missed. The Web Console has never looked better.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2011/12/06/new-stuff-style-editor-debugger-inspector-web-console-contributors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>If you need me, I&#8217;ll be in my room</title>
		<link>http://antennasoft.net/robcee/2011/12/06/if-you-need-me-ill-be-in-my-room/</link>
		<comments>http://antennasoft.net/robcee/2011/12/06/if-you-need-me-ill-be-in-my-room/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 14:29:12 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=645</guid>
		<description><![CDATA[While our valiant IT support gods struggle with our recent outages, you can reach me here via comments (I won&#8217;t post private messages) or on twitter @robcee. If, y&#8217;know, you need me for anything.]]></description>
			<content:encoded><![CDATA[<p>While our valiant IT support gods struggle with our recent outages, you can reach me here via comments (I won&#8217;t post private messages) or on twitter @robcee. If, y&#8217;know, you need me for anything.</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2011/12/06/if-you-need-me-ill-be-in-my-room/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspector Scratchpad and Web Console Power Tips</title>
		<link>http://antennasoft.net/robcee/2011/11/18/inspector-scratchpad-and-web-console-power-tips/</link>
		<comments>http://antennasoft.net/robcee/2011/11/18/inspector-scratchpad-and-web-console-power-tips/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 21:48:19 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[devtools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[highlighter]]></category>
		<category><![CDATA[inspector]]></category>
		<category><![CDATA[protips]]></category>
		<category><![CDATA[scratchpad]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=640</guid>
		<description><![CDATA[We landed a new feature in Aurora(10) this past week. It&#8217;s kind of a big deal. It represents the culmination of nearly 2 years of evolution and iteration and eventually became the focus of most of the Firefox Developer Tools team. I believe there are contributions to the Inspector (or Highlighter as we call it [...]]]></description>
			<content:encoded><![CDATA[<p>We landed a new feature in <a href="http://www.mozilla.org/en-US/firefox/aurora/">Aurora</a>(10) this past week. It&#8217;s kind of a big deal. It represents the culmination of nearly 2 years of evolution and iteration and eventually became the focus of most of the Firefox Developer Tools team. I believe there are contributions to the Inspector (or Highlighter as we call it around here) from over a dozen people contributing code, UI design, interaction and behavior, CSS and review feedback. Not bad considering it started out rather humbly with one active developer (<a href="http://antennasoft.net/robcee/2010/05/14/inspector-landing/">me</a>) before being cut from Firefox 4 so we could better focus on shipping the Web Console.</p>
<p>What we&#8217;ve landed is in some ways just a beginning. We have a bunch of great features planned for it that will include multiple selection by selector, annotated selected nodes, richer editing of HTML and CSS and a whole bunch of things that&#8230; well, you&#8217;ll just have to see what&#8217;s coming in the next version. I am seriously excited about what we&#8217;re doing with this.</p>
<p>That said, there are some things that the Highlighter could do better. I have a few tips for you:</p>
<p><strong>The Web Console and the Selected DOM node</strong></p>
<p>Open the Inspector on a web page, use this one if you want, and highlight a node (click it to &#8220;lock&#8221; the inspector in place). Next, open the Web Console. On the command line, type, <tt>inspect($0)</tt>.</p>
<p>This will open an Object Inspector on the selected node. $0 can be used to inspect and modify that node via the console with JavaScript.</p>
<p><strong>The Scratchpad and Highlighter</strong></p>
<p>What if you want to do more with your nodes? Maybe you want to select something but only know it by a selector?</p>
<p>Open a Scratchpad and <strong></strong>set it to the <a href="http://antennasoft.net/robcee/2011/05/10/scratchpad-nee-workspace-web-developer-menu-landed/">Browser Environment</a> (if you haven&#8217;t already, set <strong>devtools.chrome.enabled</strong> to <strong>true</strong> in <tt>about:config</tt> and then select &#8220;Browser&#8221; from the Environment menu in your Scratchpad).</p>
<p>Enter and run the following:</p>
<pre>function $(aString) {
    InspectorUI.inspectNode(gBrowser.contentDocument.querySelector(aString));
}</pre>
<p>now when you execute $(&#8220;body&#8221;) (or any other selector in that function), the Inspector will highlight the first node that matches that selector.</p>
<p><strong>$0 in Scratchpad</strong></p>
<p>Enter and run the following:</p>
<pre>this.__defineGetter__("$0", function() { return InspectorUI.selection; });</pre>
<p>Now with a selected element in the Highlighter, you can evaluate $0 and use it to reference the selected element.</p>
<p>$0.click() will click the element, for example.</p>
<p>Save this Scratchpad as something like &#8220;Inspector.js&#8221; (I called mine &#8220;dolla-0&#8243;) and load it up when you want to do some playing around with the inspector. Add to it and dig around. Keep in mind that the InspectorUI object is a chrome object and you can potentially break things. Hopefully you find some cool tricks along the way. Make sure to share them!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2011/11/18/inspector-scratchpad-and-web-console-power-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

