<?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 for Jordan Conway</title>
	<atom:link href="http://www.jordanconway.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jordanconway.com/blog</link>
	<description>Random thoughts &#38; musings and tips &#38; tricks</description>
	<lastBuildDate>Thu, 20 May 2010 18:41:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on My first Chrome Extension &#8211; Simple Print by JoelMMCC</title>
		<link>http://www.jordanconway.com/blog/chrome-extension-simple-print/comment-page-1/#comment-19</link>
		<dc:creator>JoelMMCC</dc:creator>
		<pubDate>Thu, 20 May 2010 18:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=66#comment-19</guid>
		<description>I’m very new to Chrome extension development, but I believe that the problem is not due to a Chrome bug (at least not anymore), but has to do with security restrictions in newer versions of Chrome that prevent extensions from directly referencing content.

Right now, you have this in your “background.html”:
&lt;code&gt;chrome.browserAction.onClicked.addListener(function(tab) {
  window.print();
});&lt;/code&gt;
With the separation of extension and content, what you’re actually doing here is telling it to print “&lt;em&gt;background.html&lt;/em&gt;,” regardless of the page actually in the tab! Well, “background.html” has no body (of course), and therefore nothing to print!

What you need to do now is read up on injecting content script into the page, so that you execute “window.print();” from within the content script in the page itself, &lt;em&gt;not&lt;/em&gt; the extension script.</description>
		<content:encoded><![CDATA[<p>I’m very new to Chrome extension development, but I believe that the problem is not due to a Chrome bug (at least not anymore), but has to do with security restrictions in newer versions of Chrome that prevent extensions from directly referencing content.</p>
<p>Right now, you have this in your “background.html”:<br />
<code>chrome.browserAction.onClicked.addListener(function(tab) {<br />
  window.print();<br />
});</code><br />
With the separation of extension and content, what you’re actually doing here is telling it to print “<em>background.html</em>,” regardless of the page actually in the tab! Well, “background.html” has no body (of course), and therefore nothing to print!</p>
<p>What you need to do now is read up on injecting content script into the page, so that you execute “window.print();” from within the content script in the page itself, <em>not</em> the extension script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My first Chrome Extension &#8211; Simple Print by Jordan</title>
		<link>http://www.jordanconway.com/blog/chrome-extension-simple-print/comment-page-1/#comment-13</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Sun, 28 Mar 2010 14:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=66#comment-13</guid>
		<description>Hi Bill,
Sorry about that, fixed it for you.  I had previously stated that it was broken on the official extension page, but forgot to edit this page too.</description>
		<content:encoded><![CDATA[<p>Hi Bill,<br />
Sorry about that, fixed it for you.  I had previously stated that it was broken on the official extension page, but forgot to edit this page too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My first Chrome Extension &#8211; Simple Print by Bill</title>
		<link>http://www.jordanconway.com/blog/chrome-extension-simple-print/comment-page-1/#comment-12</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Sat, 27 Mar 2010 19:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=66#comment-12</guid>
		<description>Hi, It would be nice if you stated at the top of the page rather than in the comments that it doesn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Hi, It would be nice if you stated at the top of the page rather than in the comments that it doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable Flash on Google Chrome Beta in Ubuntu 9.10 Karmic Koala by Jordan</title>
		<link>http://www.jordanconway.com/blog/enable-flash-on-google-chrome-in-ubuntu/comment-page-1/#comment-11</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Thu, 21 Jan 2010 12:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=76#comment-11</guid>
		<description>If you&#039;re not able to see videos in Firefox either you may have the wrong version of flash installed.
Are you running 32bit or 64bit Ubuntu?</description>
		<content:encoded><![CDATA[<p>If you&#8217;re not able to see videos in Firefox either you may have the wrong version of flash installed.<br />
Are you running 32bit or 64bit Ubuntu?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable Flash on Google Chrome Beta in Ubuntu 9.10 Karmic Koala by Etienne</title>
		<link>http://www.jordanconway.com/blog/enable-flash-on-google-chrome-in-ubuntu/comment-page-1/#comment-10</link>
		<dc:creator>Etienne</dc:creator>
		<pubDate>Thu, 21 Jan 2010 09:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=76#comment-10</guid>
		<description>I followed the steps above and still have not been able to watch videos on youtube in chrome.  I have ubuntu 9.10.  I also am not able to watch videos in firefox.  what else do you suggest i do?</description>
		<content:encoded><![CDATA[<p>I followed the steps above and still have not been able to watch videos on youtube in chrome.  I have ubuntu 9.10.  I also am not able to watch videos in firefox.  what else do you suggest i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My first Chrome Extension &#8211; Simple Print by Jordan</title>
		<link>http://www.jordanconway.com/blog/chrome-extension-simple-print/comment-page-1/#comment-8</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Tue, 29 Dec 2009 19:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=66#comment-8</guid>
		<description>Hi Michael,
The addon is actually currently broken.  I think that this is because of a Chrome bug, I believe that at this time, I just need to wait for the bug to get squashed in Chrome.
But thanks for dropping by!</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
The addon is actually currently broken.  I think that this is because of a Chrome bug, I believe that at this time, I just need to wait for the bug to get squashed in Chrome.<br />
But thanks for dropping by!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My first Chrome Extension &#8211; Simple Print by Michael</title>
		<link>http://www.jordanconway.com/blog/chrome-extension-simple-print/comment-page-1/#comment-7</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 29 Dec 2009 19:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=66#comment-7</guid>
		<description>Not sure about others, but it&#039;s not working for me. It&#039;ll bring up the printer dialog screen, but then won&#039;t print. Would love for it to work, though; a very awesome, yet simple idea.</description>
		<content:encoded><![CDATA[<p>Not sure about others, but it&#8217;s not working for me. It&#8217;ll bring up the printer dialog screen, but then won&#8217;t print. Would love for it to work, though; a very awesome, yet simple idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable Flash on Google Chrome Beta in Ubuntu 9.10 Karmic Koala by jaralm</title>
		<link>http://www.jordanconway.com/blog/enable-flash-on-google-chrome-in-ubuntu/comment-page-1/#comment-6</link>
		<dc:creator>jaralm</dc:creator>
		<pubDate>Wed, 09 Dec 2009 00:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jordanconway.com/blog/?p=76#comment-6</guid>
		<description>thanks!

 it works!</description>
		<content:encoded><![CDATA[<p>thanks!</p>
<p> it works!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

