<?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>forever 5 years old blog &#187; Greasemonkey</title>
	<atom:link href="http://www.f5yo.net/archives/tag/greasemonkey/feed" rel="self" type="application/rss+xml" />
	<link>http://www.f5yo.net</link>
	<description>今年も 5 歳になりました</description>
	<lastBuildDate>Wed, 29 Apr 2009 01:32:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Chrome に Livedoor Reader 風ピン機能を追加する</title>
		<link>http://www.f5yo.net/archives/146</link>
		<comments>http://www.f5yo.net/archives/146#comments</comments>
		<pubDate>Tue, 24 Mar 2009 03:50:15 +0000</pubDate>
		<dc:creator>ihara</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.f5yo.net/?p=146</guid>
		<description><![CDATA[Google Reader に Livedoor Reader 風ピン機能を追加するに引き続き、Google Chrome、エクステンション機能登場という記事があったので、そのグリモンを Google Chrome で動 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.f5yo.net/archives/145">Google Reader に Livedoor Reader 風ピン機能を追加する</a>に引き続き、<a href="http://journal.mycom.co.jp/news/2009/03/24/015/index.html">Google Chrome、エクステンション機能登場</a>という記事があったので、そのグリモンを Google Chrome で動かせないかやってみました。</p>

<p>やり方は <a href="http://dev.chromium.org/developers/design-documents/extensions/howto">Chrome Extension HOWTO</a> にある通りなのですが、順を追って書いてみると、まず c:\myextension フォルダを作成して、その中に manifest.json ファイルを作成します。内容はこんな感じ。id とか適当ですが、グリモンでいう @include を matches で指定して、JS のファイル名を js で指定しております。</p>


<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">{
  &quot;format_version&quot;: 1,
  &quot;id&quot;: &quot;00123456789ABCDEF0123456789ABCDEF0123456&quot;,
  &quot;version&quot;: &quot;1.0&quot;,
  &quot;name&quot;: &quot;Pin Extension for Google Reader&quot;,
  &quot;description&quot;: &quot;Pin Extension for Google Reader&quot;,
  &quot;content_scripts&quot;: [
    {
      &quot;matches&quot;: [&quot;http://www.google.com/reader/view/*&quot;, &quot;https://www.google.com/reader/view/*&quot;, &quot;http://www.google.co.jp/reader/view/*&quot;, &quot;https://www.google.co.jp/reader/view/*&quot;],
      &quot;js&quot;: [&quot;GoogleReaderPin.user.js&quot;]
    }
  ]
}</pre></div></div>




<p>で、次は実際の JS ファイルの作成なんですが、<a href="http://userscripts.org/scripts/show/17714">グリモンで動かしているそのもの</a>を持ってきて c:\myextension フォルダ内に置きます。</p>

<p>で、後は Google Chrome の起動オプションに &#8211;enable-extensions &#8211;load-extension=&#8221;c:\myextension&#8221; を指定して起動。<a href="http://www.google.com/reader/view/">Google Reader</a> 行ってみると i でピン立てて o で一気に開けとるがな。素晴らしい。</p>

<p>やばい、早く Mac 版が欲しい、そう思ったお昼時でした。</p>]]></content:encoded>
			<wfw:commentRss>http://www.f5yo.net/archives/146/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Reader に Livedoor Reader 風ピン機能を追加する</title>
		<link>http://www.f5yo.net/archives/145</link>
		<comments>http://www.f5yo.net/archives/145#comments</comments>
		<pubDate>Sun, 22 Mar 2009 01:51:07 +0000</pubDate>
		<dc:creator>ihara</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.f5yo.net/?p=145</guid>
		<description><![CDATA[昔作った Google Reader に Livedoor Reader 風ピン機能を追加する Greasemonkey スクリプトです。自分では今も便利に使っております。

i でエントリにピンを立てて、o でピン [...]]]></description>
			<content:encoded><![CDATA[<p>昔作った Google Reader に Livedoor Reader 風ピン機能を追加する Greasemonkey スクリプトです。自分では今も便利に使っております。</p>

<p>i でエントリにピンを立てて、o でピンが立っているエントリを全て開きます。</p>

<a href="http://userscripts.org/scripts/show/17714">Pin Extension for Google Reader</a>

<p>先日サイトの作りを変えたときに参照するページをなくしちゃったので追加しておきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.f5yo.net/archives/145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
