<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sam Dutton’s blog</title>
	<atom:link href="http://samdutton.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://samdutton.wordpress.com</link>
	<description>Matière grasse contre matière grise</description>
	<lastBuildDate>Fri, 27 Jan 2012 07:34:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='samdutton.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5c7a8e64fa781829f357f9207819793a?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Sam Dutton’s blog</title>
		<link>http://samdutton.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://samdutton.wordpress.com/osd.xml" title="Sam Dutton’s blog" />
	<atom:link rel='hub' href='http://samdutton.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Got Raspberry Pi!</title>
		<link>http://samdutton.wordpress.com/2011/09/16/got-raspberry-pi/</link>
		<comments>http://samdutton.wordpress.com/2011/09/16/got-raspberry-pi/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 16:03:28 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Primary schools]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chromium]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=528</guid>
		<description><![CDATA[The £15/$25 Raspberry Pi computer works a treat! <a href="http://samdutton.wordpress.com/2011/09/16/got-raspberry-pi/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=528&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_530" class="wp-caption alignleft" style="width: 160px"><a href="http://samdutton.files.wordpress.com/2011/09/raspberrypidesktop.jpg"><img src="http://samdutton.files.wordpress.com/2011/09/raspberrypidesktop.jpg?w=150&#038;h=112" alt="Raspberry Pi desktop" title="Raspberry Pi desktop" width="150" height="112" class="size-thumbnail wp-image-530" /></a><p class="wp-caption-text">Raspberry Pi desktop</p></div>
<p>We got a <a href="http://en.wikipedia.org/wiki/Raspberry_pi" title="Wikipedia Raspberry Pi article" target="_blank">Raspberry Pi</a> in the office today, and hooked it up to a keyboard and monitor. </p>
<div id="attachment_529" class="wp-caption alignright" style="width: 160px"><a href="http://samdutton.files.wordpress.com/2011/09/raspberrypiboard.jpg"><img src="http://samdutton.files.wordpress.com/2011/09/raspberrypiboard.jpg?w=150&#038;h=112" alt="Raspberry Pi board" title="Raspberry Pi board" width="150" height="112" class="size-thumbnail wp-image-529" /></a><p class="wp-caption-text">Raspberry Pi board, roughly Arduino size</p></div>
<p>In case you haven&#8217;t heard of it, Raspberry Pi runs Linux on an ARM processor and has a target price of $25/£15 for a pre-configured system.</p>
<p>Works a treat!</p>
<p>Just want to <a href="http://code.google.com/p/chromium/wiki/LinuxChromiumArm" title="Building Chromium for ARM" target="_blank">get Chrome on it</a> now :^).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/528/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=528&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/09/16/got-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/09/raspberrypidesktop.jpg?w=150" medium="image">
			<media:title type="html">Raspberry Pi desktop</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/09/raspberrypiboard.jpg?w=150" medium="image">
			<media:title type="html">Raspberry Pi board</media:title>
		</media:content>
	</item>
		<item>
		<title>Cherry Cream Delight</title>
		<link>http://samdutton.wordpress.com/2011/09/13/cherry-cream-delight/</link>
		<comments>http://samdutton.wordpress.com/2011/09/13/cherry-cream-delight/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 22:06:04 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=521</guid>
		<description><![CDATA[I can't believe the things I'll eat when I'm on a plane. <a href="http://samdutton.wordpress.com/2011/09/13/cherry-cream-delight/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=521&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe the things I&#8217;ll eat when I&#8217;m on a plane.</p>
<div id="attachment_522" class="wp-caption alignleft" style="width: 542px"><a href="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightlabel.jpg"><img src="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightlabel.jpg?w=640" alt="Cherry Cream delight label" title="Cherry Cream Delight Label"   class="size-full wp-image-522" /></a><p class="wp-caption-text">Cute!</p></div>
<div id="attachment_523" class="wp-caption alignleft" style="width: 542px"><a href="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightingredients.jpg"><img src="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightingredients.jpg?w=640" alt="Cherry Cream Delight ingredients" title="Cherry Cream Delight ingredients"   class="size-full wp-image-523" /></a><p class="wp-caption-text">That&#039;s a lot of ingredients</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/521/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=521&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/09/13/cherry-cream-delight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightlabel.jpg" medium="image">
			<media:title type="html">Cherry Cream Delight Label</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/09/cherrycreamdelightingredients.jpg" medium="image">
			<media:title type="html">Cherry Cream Delight ingredients</media:title>
		</media:content>
	</item>
		<item>
		<title>Automatically pause video when it&#8217;s not visible</title>
		<link>http://samdutton.wordpress.com/2011/08/05/extension-to-pause-video-when-its-not-visible/</link>
		<comments>http://samdutton.wordpress.com/2011/08/05/extension-to-pause-video-when-its-not-visible/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 17:58:21 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=514</guid>
		<description><![CDATA[I&#8217;ve built a Google Chrome extension called Hold It! that pauses video when it&#8217;s not visible. For example, when you: minimise a window with a video playing in it move to a different tab open a video link in a &#8230; <a href="http://samdutton.wordpress.com/2011/08/05/extension-to-pause-video-when-its-not-visible/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=514&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://chrome.google.com/webstore/detail/ojpfpnnblmkgkpobiamilejllmkfmflg?hc=search&amp;hcp=main"><img src="http://samdutton.files.wordpress.com/2011/08/128.png?w=640" alt="Download the Hold It! extension" title="Download the Hold It! extension"   class="alignleft size-full wp-image-515" /></a></p>
<p>I&#8217;ve built a <a href="http://www.google.com/chrome/" title="Download Google Chrome" target="_blank">Google Chrome</a> extension called <a href="https://chrome.google.com/webstore/detail/ojpfpnnblmkgkpobiamilejllmkfmflg" title="Download the Hold It! extension" target="_blank">Hold It!</a> that pauses video when it&#8217;s not visible.</p>
<p>For example, when you:</p>
<ul>
<li>minimise a window with a video playing in it</li>
<li>move to a different tab</li>
<li>open a video link in a new hidden tab.</li>
</ul>
<p>Video play resumes automatically when it becomes visible again.</p>
<p>Useful when viewing videos on multiple tab pages, or if you click a link to open a video in a new, hidden tab.</p>
<p>Works for YouTube, Vimeo and on any site that uses the HTML video element.</p>
<p><strong>Caveats:</strong> does not work for YouTube advertisements, and does not work on bbc.co.uk and some other sites. If you have a solution, let me know!</p>
<p>You can get it (for free!) from the <a href="https://chrome.google.com/webstore/detail/ojpfpnnblmkgkpobiamilejllmkfmflg?hc=search&amp;hcp=main" title="Download the Hold It! extension" target="_blank">Google Chrome Webstore</a>.</p>
<p><strong>How to use the extension</strong></p>
<p>After installing the extension, any playing video will be paused when you move to a different tab or minimise a window. If you click on a link to open a video in a new, hidden tab, the video will be paused until you move to the new tab.</p>
<p><strong>How does it work?</strong></p>
<p>This extension uses the Page Visibility API.</p>
<p>The API can be used to check when a web page is visible to the user or not.</p>
<p>If you minimise your browser window, or move to another tab, the API fires a webkitvisibilitychange event.</p>
<p>When a new page loads, the extension looks for videos on the page &#8212; including Flash video and HTML video elements. If the page is not visible, or becomes hidden, all playing videos on the page are paused. Play restarts (for videos that were playing) once they become visible again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/514/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=514&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/08/05/extension-to-pause-video-when-its-not-visible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/08/128.png" medium="image">
			<media:title type="html">Download the Hold It! extension</media:title>
		</media:content>
	</item>
		<item>
		<title>Win a Chromebook!</title>
		<link>http://samdutton.wordpress.com/2011/08/02/win-a-chromebook/</link>
		<comments>http://samdutton.wordpress.com/2011/08/02/win-a-chromebook/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 11:23:54 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chrome Web Store]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Italy]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=504</guid>
		<description><![CDATA[Win a Chromebook in the Italian Google Chrome Web Store competition. <a href="http://samdutton.wordpress.com/2011/08/02/win-a-chromebook/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=504&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://sites.google.com/site/chromecontest/"><img src="http://samdutton.files.wordpress.com/2011/08/chromewebstore.png?w=640" alt="Chrome Web Store contest" title="Chrome Web Store contest"   class="size-full wp-image-509" /></a></p>
<p>Contest per lo sviluppo di applicazioni per il Chrome Web Store italiano. </p>
<p><a href="https://sites.google.com/site/chromecontest/" title="Google Chrome Web Store Italian app contest" target="_blank">Partecipa al contest</a>.</p>
<p>Avete tempo fino a lunedì 12 Settembre 2011.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/504/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=504&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/08/02/win-a-chromebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/08/chromewebstore.png" medium="image">
			<media:title type="html">Chrome Web Store contest</media:title>
		</media:content>
	</item>
		<item>
		<title>Chrome extension to test navigation and page load speed</title>
		<link>http://samdutton.wordpress.com/2011/07/29/chrome-extension-to-test-navigation-and-page-load-speed/</link>
		<comments>http://samdutton.wordpress.com/2011/07/29/chrome-extension-to-test-navigation-and-page-load-speed/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 16:22:12 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[chrome extension]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Navigation]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=493</guid>
		<description><![CDATA[Page Speed Test is an extension that displays a timeline of navigation and page load events for the current page, and a historical chart of page load timing data for all visits to the page. You can get it from https://chrome.google.com/webstore/detail/lgmnmdkkghdeagbghognjbjijpnckcid?hl=en-US. <a href="http://samdutton.wordpress.com/2011/07/29/chrome-extension-to-test-navigation-and-page-load-speed/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=493&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve built a Google Chrome extension called Page Speed Test that uses the <a href="https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html" title="Navigation Timing W3C Editor's Draft" target="_blank">Navigation Timing API</a>.</p>
<p>You can get it (for free!) at the <a href="https://chrome.google.com/webstore/detail/lgmnmdkkghdeagbghognjbjijpnckcid?hl=en-US" title="Page Speed Test on the Chrome Web Store" target="_blank">Chrome Web Store</a>.</p>
<p>The extension displays a timeline of navigation and page load events for the current page, and a historical chart of page load timing data for all visits to the page.</p>
<p>It&#8217;s still a bit rough around the edges, so I&#8217;d really appreciate any feedback.</p>
<div id="attachment_500" class="wp-caption alignnone" style="width: 650px"><a href="http://samdutton.files.wordpress.com/2011/07/screenshotchartlarge.png"><img src="http://samdutton.files.wordpress.com/2011/07/screenshotchartlarge.png?w=640&#038;h=535" alt="Navigation and page load timing charted for all visits to the current page" title="Navigation and page load timing charted for all visits to the current page" width="640" height="535" class="size-full wp-image-500" /></a><p class="wp-caption-text">Navigation and page load timing charted for all visits to the current page</p></div>
<div id="attachment_498" class="wp-caption alignnone" style="width: 650px"><a href="http://samdutton.files.wordpress.com/2011/07/screenshottimelinelarge.png"><img src="http://samdutton.files.wordpress.com/2011/07/screenshottimelinelarge.png?w=640&#038;h=535" alt="Timeline of navigation and page load events for the current visit to the current page" title="Timeline of navigation and page load events for the current visit to the current page" width="640" height="535" class="size-full wp-image-498" /></a><p class="wp-caption-text">Timeline of navigation and page load events for the current visit to the current page</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/493/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=493&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/07/29/chrome-extension-to-test-navigation-and-page-load-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/07/screenshotchartlarge.png" medium="image">
			<media:title type="html">Navigation and page load timing charted for all visits to the current page</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/07/screenshottimelinelarge.png" medium="image">
			<media:title type="html">Timeline of navigation and page load events for the current visit to the current page</media:title>
		</media:content>
	</item>
		<item>
		<title>Web apps need better context menus</title>
		<link>http://samdutton.wordpress.com/2011/07/29/web-apps-need-better-context-menus/</link>
		<comments>http://samdutton.wordpress.com/2011/07/29/web-apps-need-better-context-menus/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 16:09:13 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=474</guid>
		<description><![CDATA[For web apps to be as good as native apps, they need better context (right click) menus. Take a look at the screenshot above. This shows what happens when you click on a person in a Google+ circle: I&#8217;d like &#8230; <a href="http://samdutton.wordpress.com/2011/07/29/web-apps-need-better-context-menus/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=474&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://samdutton.files.wordpress.com/2011/07/contextmenu.jpg"><img src="http://samdutton.files.wordpress.com/2011/07/contextmenu.jpg?w=640&#038;h=535" alt="Browser context menu" title="Browser context menu" width="640" height="535" class="size-full wp-image-489" /></a></p>
<p>For web apps to be as good as native apps, they need better context (right click) menus.</p>
<p>Take a look at the screenshot above. This shows what happens when you click on a person in a Google+ circle: I&#8217;d like to move the person from the current circle to a different one.</p>
<p>A &#8216;proper&#8217; context menu would be very useful in this case, but of course what I get is the usual generic browser menu with items that are irrelevant to the task I&#8217;m trying to accomplish.</p>
<p>I know that you can add items to context menus in Chrome apps, for example, or hack them in other ways, that there are security considerations (if people add deceptive menu items), that many (most?) users never use context menus, and so on.</p>
<p>BUT&#8230;</p>
<p>There must be a way.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=474&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/07/29/web-apps-need-better-context-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/07/contextmenu.jpg" medium="image">
			<media:title type="html">Browser context menu</media:title>
		</media:content>
	</item>
		<item>
		<title>The Page Visibility API</title>
		<link>http://samdutton.wordpress.com/2011/07/15/the-page-visibility-api/</link>
		<comments>http://samdutton.wordpress.com/2011/07/15/the-page-visibility-api/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 13:03:06 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Page Visibility API]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=462</guid>
		<description><![CDATA[Demo of the Page Visibility API: useful for checking if a web page is -- or becomes -- visible or hidden. <a href="http://samdutton.wordpress.com/2011/07/15/the-page-visibility-api/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=462&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.samdutton.com/pageVisibility"><img src="http://samdutton.files.wordpress.com/2011/07/chrome.jpg?w=150&#038;h=84" alt="Framegrab from a Google Chrome promotional video: click to view the Page Visibility API demo" title="Framegrab from a Google Chrome promotional video: click to view the Page Visibility API demo" width="150" height="84" class="alignleft size-thumbnail wp-image-466" /></a>I&#8217;ve built a simple <a href="http://www.samdutton.com/pageVisibility" title="Page Visibility API example" target="_blank">demo of the Page Visibility API</a>, based on an idea of <a href="http://mahemoff.com/" title="Mike Mahemoff's homepage" target="_blank">Mike Mahemoff</a>&#8216;s and using his <a href="http://softwareas.com/dynamic-favicons" title="Mike Mahemoff's blog post about dynamic favicons" target="_blank">favicon.js</a>.</p>
<p>The API makes it possible to find out when a web page becomes visible or hidden, for example to pause download, processing or playback in order to save CPU and bandwidth.</p>
<p>More information about the API is available from <a href="http://code.google.com/chrome/whitepapers/pagevisibility.html" title="Page Visibility documentation on code.google.com" target="_blank">code.google.com</a> and <a href="https://developer.mozilla.org/en/API/PageVisibility/Page_Visibility_API" title="Page Visibility documentation on the Mozilla Developer Network" target="_blank">MDN</a>.</p>
<p>I&#8217;ve also built a <a href="https://chrome.google.com/webstore/detail/ojpfpnnblmkgkpobiamilejllmkfmflg" title="Hold It! extension for Google Chrome" target="_blank">Google Chrome extension</a> that uses the API to pause video when it&#8217;s not visible.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=462&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/07/15/the-page-visibility-api/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/07/chrome.jpg?w=150" medium="image">
			<media:title type="html">Framegrab from a Google Chrome promotional video: click to view the Page Visibility API demo</media:title>
		</media:content>
	</item>
		<item>
		<title>AppleScript to view HTML in a browser with TextWrangler</title>
		<link>http://samdutton.wordpress.com/2011/05/16/applescript-to-view-html-in-a-browser-with-textwrangler/</link>
		<comments>http://samdutton.wordpress.com/2011/05/16/applescript-to-view-html-in-a-browser-with-textwrangler/#comments</comments>
		<pubDate>Mon, 16 May 2011 06:44:05 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[TextWrangler]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=451</guid>
		<description><![CDATA[TextWrangler is a great text editor for the Mac.

Here's a handy AppleScript to enable HTML files to be opened in any browser, including Chrome. <a href="http://samdutton.wordpress.com/2011/05/16/applescript-to-view-html-in-a-browser-with-textwrangler/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=451&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.barebones.com/products/textwrangler/"><img src="http://samdutton.files.wordpress.com/2011/05/textwrangler1.png?w=640" alt="TextWrangler" title="TextWrangler"   class="alignleft size-full wp-image-456" /></a>I really like <a href="http://www.barebones.com/products/textwrangler/" title="TextWrangler" target="_blank">TextWrangler</a>, the free Mac text editor from Barebones Software, who make BBEdit.</p>
<p>I&#8217;ve just worked out how to set up TextWrangler so you can view HTML files in one or more browsers &#8212; simultaneously if necessary, and with keyboard shortcuts.</p>
<p>Mike Piontek at <a href="http://junecloud.com/journal/mac/preview-in-browser-script-for-textwrangler.html" title="Junecloud">Junecloud</a> gives instructions on how to do this in Safari:</p>
<p><code>tell application "TextWrangler" to set theFile to file of document 1<br />
tell application "Finder" to open theFile using (path to application "Safari")</code></p>
<p>Unfortunately, this doesn&#8217;t seem to work for Google Chrome.</p>
<p>So I did a bit of hacking (with help from a comment by someone called Rob on <a href="http://www.tuaw.com/2011/03/14/use-applescript-to-open-current-safari-url-in-google-chrome/2" title="Link to blogpost with useful comment from Bob" target="_blank">TUAW</a>) and came up with this:</p>
<p><code>tell application "TextWrangler" to set theFile to file of document 1</p>
<p>set appleScriptPath to theFile as text<br />
set currentURL to POSIX path of appleScriptPath<br />
set currentURL to ("file://" &amp; currentURL)</p>
<p>tell application "Google Chrome"<br />
	activate<br />
	if (exists window 1) and (URL of active tab of window 1 is "chrome://newtab/") then<br />
		tell window 1 to set URL of active tab to currentURL<br />
	else<br />
		open location currentURL<br />
	end if<br />
end tell</code></p>
<p>It may not be elegant, but it works.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/451/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=451&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/05/16/applescript-to-view-html-in-a-browser-with-textwrangler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/05/textwrangler1.png" medium="image">
			<media:title type="html">TextWrangler</media:title>
		</media:content>
	</item>
		<item>
		<title>Instant search for Shakespeare&#8217;s sonnets</title>
		<link>http://samdutton.wordpress.com/2011/04/08/instant-search-for-shakespeares-sonnets/</link>
		<comments>http://samdutton.wordpress.com/2011/04/08/instant-search-for-shakespeares-sonnets/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 06:07:52 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=431</guid>
		<description><![CDATA[I&#8217;ve written an application to search Shakespeare&#8217;s sonnets, which links to Quarto 1 facsimiles of each of the poems at the the University of Victora Internet Shakespeare Editions website. You can access it as a plain old web page in &#8230; <a href="http://samdutton.wordpress.com/2011/04/08/instant-search-for-shakespeares-sonnets/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=431&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_436" class="wp-caption alignleft" style="width: 138px"><a href="http://samdutton.com/shearch"><img src="http://samdutton.files.wordpress.com/2011/04/icon128.png?w=640" alt="Reputedly William Shakespeare, but who knows?" title="Reputedly William Shakespeare, but who knows?"   class="size-full wp-image-436" /></a><p class="wp-caption-text">Some bloke with a moustache</p></div>
<p>I&#8217;ve written an application to search Shakespeare&#8217;s sonnets, which links to Quarto 1 facsimiles of each of the poems at the the <a href="http://www.uvic.ca/">University of Victora</a> Internet Shakespeare Editions website.</p>
<p>You can access it as a plain old <a href="http://www.samdutton.com/shearch/">web page</a> in Chrome, Safari or Opera, or install the free <a href="https://chrome.google.com/webstore/detail/aafnlipclfojcajbnbhjjgnledamgnji">web app</a> at the Chrome Web Store.</p>
<p>The app doesn&#8217;t do much &#8212; it&#8217;s just very fast, and works locally and offline. </p>
<p>I&#8217;m working on a Firefox version using the Indexed Database API. Not sure where Internet Explorer is headed in terms of local database storage.</p>
<hr />
<p><strong>How to use it</strong></p>
<p>Enter text in the input box at the top of the page to display lines from sonnets containing the text.</p>
<p>Search is not case sensitive. Note that a minimum of two characters must be entered. Line numbers are shown to the right of each line.</p>
<p>Click any line to display the whole sonnet from which it is taken.</p>
<p>Click on a sonnet to display a Quarto 1 facsimiles of it at the the <a href="http://www.uvic.ca/">University of Victora</a> Internet Shakespeare Editions website.</p>
<hr />
<p><strong>How does it work?</strong></p>
<p>The sonnets are stored in JSON format in json/sonnets.js.</p>
<p>The first time the app is first opened, the JSON is parsed and the sonnets are stored locally in a Web SQL database. (I&#8217;m working on an IndexedDB version for Firefox and future versions of Chrome and other browsers.)</p>
<p>Whenever query text is entered or altered, the database is queried and any results are formatted and displayed.</p>
<hr />
<p><strong>Feedback</strong></p>
<p>Please send bug reports, comments or feature requests to <a href="mailto:samdutton@gmail.com">samdutton@gmail.com</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/431/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=431&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/04/08/instant-search-for-shakespeares-sonnets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>

		<media:content url="http://samdutton.files.wordpress.com/2011/04/icon128.png" medium="image">
			<media:title type="html">Reputedly William Shakespeare, but who knows?</media:title>
		</media:content>
	</item>
		<item>
		<title>Framegrabber Chrome extension</title>
		<link>http://samdutton.wordpress.com/2011/03/25/framegrabber-chrome-extension/</link>
		<comments>http://samdutton.wordpress.com/2011/03/25/framegrabber-chrome-extension/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 22:47:34 +0000</pubDate>
		<dc:creator>Sam Dutton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://samdutton.wordpress.com/?p=422</guid>
		<description><![CDATA[I&#8217;ve built a free Chrome extension for bookmarking video timecodes and capturing framegrabs. It&#8217;s called Framegrabber and you can get it here. Framegrabs are still images of individual film frames. The Framegrabber extension makes it possible to take framegrabs from &#8230; <a href="http://samdutton.wordpress.com/2011/03/25/framegrabber-chrome-extension/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=422&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve built a free <a href="https://chrome.google.com/extensions">Chrome extension</a> for bookmarking video timecodes and capturing framegrabs.</p>
<p>It&#8217;s called Framegrabber and you can get it <a href="http://bit.ly/framegrabberExtension">here</a>.</p>
<hr />
<p>Framegrabs are still images of individual film frames.</p>
<p>The Framegrabber extension makes it possible to take framegrabs from HTML video elements. Framegrabs can be stored in a local database or opened in a tab so they can be saved as JPEG files. </p>
<p>Framegrabber is also useful for bookmarking video timecodes.</p>
<p>Framegrabber works for any page that uses the HTML video element. </p>
<p>One major caveat: to create framegrabs, video must be from the same host as the page it&#8217;s on, so Framegrabber can&#8217;t capture framegrabs on sites like YouTube and Vimeo. If Framegrabber cannot capture a framegrab, it will still store the timecode of the current frame.</p>
<p class="borderBottom">Videos from which framegrabs can taken can be found on many sites, including <a href="http://diveintohtml5.org/video.html#example">Dive&nbsp;Into&nbsp;HTML5</a>, <a href="http://people.mozilla.com/~prouget/demos/mashup/video.xhtml" title="Mozilla examples">Mozilla</a> and my own website <a href="http://www.samdutton.com/chrome/" title="Sample videos using the HTML video element">samdutton.com</a>.</p>
<hr />
<h2>How to use Framegrabber</h2>
<p>To save framegrabs, use the icons that the extension displays at the top left of video(s) using the HTML video element:</p>
<ul>
<li>click on the green plus icon to open a framegrab in a new tab</li>
<li>click on the red circle icon to save a framegrab in local database storage.</li>
</ul>
<p>Note that on some pages, you may need to start playing the video before an HTML video element is actually added to the page.</p>
<p>Click the extension icon (to the right of the address bar) to display stored framegrabs in a popup. Click a framegrab image in the popup to navigate to the video and timecode from which the framegrab was taken.</p>
<h2>How does it work?</h2>
<p>Framegrabber uses several relatively new web technologies, including Canvas, HTMLMediaElement and Web SQL Database.</p>
<p>Below are some technical details of how the extension works.</p>
<p>Framegrabber creates a canvas element (but doesn&#8217;t add it to the DOM) then uses the drawImage() canvas context method to draw a video frame on it. The canvas toDataURL() method is then used to create a data URL string representing the image. The image data URL can then either be opened in a new tab, or stored locally along with the URL of the page containing the video and the timecode of the framegrab: Framegrabber does everything offline.</p>
<p>Local storage is accomplished using the Chrome Web SQL Data<br />
base implementation, which is fast and reliable enough to store strings such as image data URLs, which can be 200KB or more in size (i.e. 200,000+ characters in length). </p>
<p>When the extension icon is clicked, data URLs are retrieved from the local database and set as the src value for framegrabs displayed in the popup. </p>
<h2 id="feedback">Feedback</h2>
<p>Please send bug reports, comments or feature requests to <a href="mailto:samdutton@gmail.com">samdutton@gmail.com</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samdutton.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samdutton.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samdutton.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samdutton.wordpress.com&amp;blog=3797256&amp;post=422&amp;subd=samdutton&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://samdutton.wordpress.com/2011/03/25/framegrabber-chrome-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c3748925c1f960cf504e508f15be32ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samdutton</media:title>
		</media:content>
	</item>
	</channel>
</rss>
