<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using Firebug Console to log from GreaseMonkey Scripts</title>
	<atom:link href="http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/</link>
	<description></description>
	<lastBuildDate>Sat, 11 Feb 2012 09:22:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Garvin</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-218058</link>
		<dc:creator>Garvin</dc:creator>
		<pubDate>Thu, 24 Mar 2011 20:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-218058</guid>
		<description>Important prerequisite: before the logging starts showing up in the Firebug console, you&#039;ll have to go to about:config and set extensions.firebug.showChromeMessages to true.

http://wiki.greasespot.net/GM_log#GM_log_and_Firebug

NATE: there are two questions there with opposite answers. Did a new version break GM_log()? No. I imagine you were referring to GM_log() in a non-Greasemonkey context (guess: in the Firebug command line).</description>
		<content:encoded><![CDATA[<p>Important prerequisite: before the logging starts showing up in the Firebug console, you&#8217;ll have to go to about:config and set extensions.firebug.showChromeMessages to true.</p>
<p><a href="http://wiki.greasespot.net/GM_log#GM_log_and_Firebug" rel="nofollow">http://wiki.greasespot.net/GM_log#GM_log_and_Firebug</a></p>
<p>NATE: there are two questions there with opposite answers. Did a new version break GM_log()? No. I imagine you were referring to GM_log() in a non-Greasemonkey context (guess: in the Firebug command line).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-144480</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-144480</guid>
		<description>&quot;var GM_log = unsafeWindow.console.log;&quot;

After doing this, when trying to use GM_log(&quot;str&quot;);, I get the message &quot;GM_log is not a function&quot;.  Did some new version of Greasemonkey or Firefox break this compatibility or am I using it wrong?</description>
		<content:encoded><![CDATA[<p>&#8220;var GM_log = unsafeWindow.console.log;&#8221;</p>
<p>After doing this, when trying to use GM_log(&#8220;str&#8221;);, I get the message &#8220;GM_log is not a function&#8221;.  Did some new version of Greasemonkey or Firefox break this compatibility or am I using it wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-131010</link>
		<dc:creator>Cory</dc:creator>
		<pubDate>Fri, 18 Dec 2009 23:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-131010</guid>
		<description>You can also do:

var console = unsafeWindow.console;

And then you can use Firebug as you normally would.

console.log(&#039;hello world!&#039;);
console.error(&#039;doh&#039;);</description>
		<content:encoded><![CDATA[<p>You can also do:</p>
<p>var console = unsafeWindow.console;</p>
<p>And then you can use Firebug as you normally would.</p>
<p>console.log(&#8216;hello world!&#8217;);<br />
console.error(&#8216;doh&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GeorgeCalm</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-127181</link>
		<dc:creator>GeorgeCalm</dc:creator>
		<pubDate>Tue, 24 Nov 2009 03:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-127181</guid>
		<description>// shorter version
var log = (unsafeWindow.console) ? unsafeWindow.console.log : GM_log;</description>
		<content:encoded><![CDATA[<p>// shorter version<br />
var log = (unsafeWindow.console) ? unsafeWindow.console.log : GM_log;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Best of Devils Workshop in Year 2008!</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-79098</link>
		<dc:creator>Best of Devils Workshop in Year 2008!</dc:creator>
		<pubDate>Tue, 30 Dec 2008 09:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-79098</guid>
		<description>[...] Using Firebug Console to log from GreaseMonkey Scripts [...]</description>
		<content:encoded><![CDATA[<p>[...] Using Firebug Console to log from GreaseMonkey Scripts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Bansal</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-66971</link>
		<dc:creator>Rahul Bansal</dc:creator>
		<pubDate>Thu, 25 Sep 2008 13:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-66971</guid>
		<description>&lt;b&gt;@Gaurav&lt;/b&gt;
Sure. &lt;a href=&quot;http://www.devilsworkshop.org/firefox/greasemonkey/&quot; rel=&quot;nofollow&quot;&gt;Read This&lt;/a&gt;. :-)</description>
		<content:encoded><![CDATA[<p><b>@Gaurav</b><br />
Sure. <a href="http://www.devilsworkshop.org/firefox/greasemonkey/" rel="nofollow">Read This</a>. <img src='http://devilsworkshop.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gaurav</title>
		<link>http://devilsworkshop.org/using-firebug-console-to-log-from-greasemonkey-scripts/#comment-66801</link>
		<dc:creator>gaurav</dc:creator>
		<pubDate>Wed, 24 Sep 2008 10:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.devilsworkshop.org/?p=1890#comment-66801</guid>
		<description>i do not how to use  Greasemonkey 
plz tell me if u have time</description>
		<content:encoded><![CDATA[<p>i do not how to use  Greasemonkey<br />
plz tell me if u have time</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 7/14 queries in 0.004 seconds using apc
Object Caching 382/388 objects using apc

Served from: devilsworkshop.org @ 2012-02-12 09:23:11 -->
