<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Kazuho at Work - Greasemetal</title>
      <link>http://labs.cybozu.co.jp/blog/kazuhoatwork/</link>
      <description>Kazuho Oku's Blog in English (&#26085;&#26412;&#35486;)</description>
      <language>en</language>
      <copyright>Copyright 2009</copyright>
      <lastBuildDate>Tue, 07 Jul 2009 12:20:08 +0900</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.2</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Greasemetal version 0.2 released</title>
         <description><![CDATA[<p>
I have just uploaded version 0.2 of Greasemetal to <a href="http://greasemetal.31tools.com/">greasemetal.31tools.com</a>.  I originally intended to add management UI for userscripts in the second release, but hearing the users' request for improved compatibility with <a href="http://www.greasespot.net/">Greasemonkey</a>, I changed my mind.  <b>The main focus of the release is to improve compatibility with Greasemonkey</b>.  The changes from version 0.1 are as follows.</p>]]></description>
         <link>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal_version_02_release.php</link>
         <guid>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal_version_02_release.php</guid>
         <category>Greasemetal</category>
         <pubDate>Sat, 13 Sep 2008 13:57:48 +0900</pubDate>
      </item>
            <item>
         <title>Greasemetal - the next step</title>
         <description><![CDATA[<p>Thank you to all, the release of <a href="http://greasemetal.31tools.com/">Greasemetal</a> seems to have been successful.  Looking at the responses, I plan to do the following in the next release:
<ul>
<li>eliminate generation of unnecessary log files and error messages (as much as possible)</li>
<li>add management UI for userscripts</li>
<li>add some kind of error logging for debugging userscripts</li>
</ul>
</p>

<p>I hope I can release it soon.</p>

<p><b>Sep 12 5:12pm:</b> We plan to add support for most <i>GM_*</i> functions, if not all of them (it might not be in the next release, though).</p>]]></description>
         <link>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal_the_next_step.php</link>
         <guid>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal_the_next_step.php</guid>
         <category>Greasemetal</category>
         <pubDate>Thu, 11 Sep 2008 15:13:03 +0900</pubDate>
      </item>
            <item>
         <title>Greasemetal - a userscript runtime for Google Chrome</title>
         <description><![CDATA[<p>For more than two years, I have been using <a href="http://www.mozilla.com/">Firefox</a>.  And <a href="http://www.greasespot.net/">Greasemonkey</a>.  Then, last week, came <a href="http://www.google.com/chrome/">Google Chrome</a>.  It was at the moment I tried the new browser that I suddenly noticed I could no more live without userscripts (especially, AutoPagerize).  So I started looking into the source code of Google Chrome, and found out a way to implement a userscript runtime.  And that's Greasemetal.  It is now available from the link below.</p>

<div style="text-align: center; font-weight: bold;">
<a href="http://greasemetal.31tools.com/">http://greasemetal.31tools.com/</a>
</div>

<p>
Technically, Greasemetal executes userscripts in the following steps.
<ol>
<li>setup a local web server that sends userscripts to Google Chrome</li>
<li>launch Google Chrome specifying the browser to connect its <i>AutomationProxy</i> (an interprocess communication channel of the web browser implemented for automated UI tests) to Greasemetal</li>
<li>periodically execute JavaScript in each browser tab that inserts &lt;script&gt; tags to download necessary userscripts from the local web server</li>
</ol>
As can be seen, since the entire userscript is run at the browser level, there is no support for <i>GM_*</i> functions (they require userscripts to be executed under a previleged environment for security reasons).  In other word, some userscripts that rely on Greasemonkey-specific features would not work on Greasemetal.  Userscripts compatible with Safari (or Opera) would mostly work.
</p>

<p>
The userscripts I checked and found compatible are;
<ul>
<li><a href="http://mylingual.net/">Mylingual</a> and <a href="http://japanize.31tools.com/index.cgi/wiki?_name=User%20Javascript">Japanize</a> - a community-based web UI localization service</li>
<li><a href="http://d.hatena.ne.jp/os0x/20071202/oautopagerize">oAutoPagerize</a> - a port of <a href="http://userscripts.org/scripts/show/8551">AutoPagerize</a> (the Safari version seems to be compatible with Greasemetal)</li>
</ul>
</p>

<p>
This is the first release of Greasemetal, and it still lacks a number of features (especially the UI for managing userscripts).  I hope I can release the next version early (hopefully a code-signed version), but if you find any bugs or have any suggestions, please let me know (although I am afraid I might not be able to answer to compatibility problems of each userscripts).  Anyway, have fun!
</p>]]></description>
         <link>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal.php</link>
         <guid>http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/09/greasemetal.php</guid>
         <category>Greasemetal</category>
         <pubDate>Wed, 10 Sep 2008 11:48:31 +0900</pubDate>
      </item>
      
   </channel>
</rss>

