<?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>dot.Using &#187; firefox</title>
	<atom:link href="http://blog.kesor.net/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kesor.net</link>
	<description>Making technology about computers, and computers about usability.</description>
	<lastBuildDate>Mon, 29 Jun 2009 22:46:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using FireBug&#8217;s console logger with GreaseMonkey 0.6.4</title>
		<link>http://blog.kesor.net/2006/06/26/using-firebugs-console-logger-with-greasemonkey-064/</link>
		<comments>http://blog.kesor.net/2006/06/26/using-firebugs-console-logger-with-greasemonkey-064/#comments</comments>
		<pubDate>Mon, 26 Jun 2006 10:39:03 +0000</pubDate>
		<dc:creator>kesor</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.kesor.net/2006/06/26/using-firebugs-console-logger-with-greasemonkey-064/</guid>
		<description><![CDATA[FireBug is the best tool (a Firefox extension) for web development ever invented &#8230; well, at least one of the best.
The console method  (formerly known as printfire) is a feature of FireBug that enables logging into firebug&#8217;s console with different levels. Thing is &#8211; it does not quite work with GreaseMonkey scripts. Until now!
The solution [...]]]></description>
			<content:encoded><![CDATA[<p>FireBug is the best tool (a Firefox extension) for web development ever invented &#8230; well, at least one of the best.</p>
<p>The <a href="http://www.joehewitt.com/software/firebug/docs.php">console</a> method  (formerly known as printfire) is a feature of FireBug that enables logging into firebug&#8217;s console with different levels. Thing is &#8211; it does not quite work with GreaseMonkey scripts. Until now!</p>
<p>The solution is very simple &#8211; using GM&#8217;s unsafeWindow object. This object is the same as the &#8216;window&#8217; object that local javascript is seing, and it includes firebug console methods.</p>
<p>Like so:</p>
<blockquote>
<pre>unsafeWindow.console.info('some informational message');</pre>
</blockquote>
<p></p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F&amp;title=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4&amp;bodytext=FireBug%20is%20the%20best%20tool%20%28a%20Firefox%20extension%29%20for%20web%20development%20ever%20invented%20...%20well%2C%20at%20least%20one%20of%20the%20best.%0D%0AThe%20console%20method%C2%A0%20%28formerly%20known%20as%20printfire%29%20is%20a%20feature%20of%20FireBug%20that%20enables%20logging%20into%20firebug%27s%20console%20with%20differen" title="Digg"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F&amp;title=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4&amp;notes=FireBug%20is%20the%20best%20tool%20%28a%20Firefox%20extension%29%20for%20web%20development%20ever%20invented%20...%20well%2C%20at%20least%20one%20of%20the%20best.%0D%0AThe%20console%20method%C2%A0%20%28formerly%20known%20as%20printfire%29%20is%20a%20feature%20of%20FireBug%20that%20enables%20logging%20into%20firebug%27s%20console%20with%20differen" title="del.icio.us"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F&amp;title=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4" title="Reddit"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F" title="Technorati"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4&amp;body=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F" title="email"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F&amp;t=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4" title="Facebook"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.kesor.net%2F2006%2F06%2F26%2Fusing-firebugs-console-logger-with-greasemonkey-064%2F&amp;title=Using%20FireBug%27s%20console%20logger%20with%20GreaseMonkey%200.6.4&amp;annotation=FireBug%20is%20the%20best%20tool%20%28a%20Firefox%20extension%29%20for%20web%20development%20ever%20invented%20...%20well%2C%20at%20least%20one%20of%20the%20best.%0D%0AThe%20console%20method%C2%A0%20%28formerly%20known%20as%20printfire%29%20is%20a%20feature%20of%20FireBug%20that%20enables%20logging%20into%20firebug%27s%20console%20with%20differen" title="Google Bookmarks"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="" title="Pownce"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/" title="Pownce" alt="Pownce" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="" title="TwitThis"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.kesor.net/2006/06/26/using-firebugs-console-logger-with-greasemonkey-064/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.437 seconds -->
