<?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; javascript</title>
	<atom:link href="http://blog.kesor.net/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kesor.net</link>
	<description>Making technology about computers, and computers about usability.</description>
	<lastBuildDate>Tue, 30 Aug 2011 00:30:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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! [...]]]></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>
]]></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.238 seconds -->

