Mozilla Flux

Mozilla関係の情報に特化したブログです。

JetpackはGreasemonkeyスクリプトとの連携を計画

Firefoxにスクリプトベースの軽量アドオンを追加可能にするJetpack。バージョン0.1.0からスタートしたエンジンはあっという間に0.1.5にまでバージョンアップし、さらにJetpack Enhancement Proposal(JEP)と呼ばれるAPI候補も公開されるなど、凄まじい勢いで開発が進められている。

そんな中、Product LeadのAza Raskin氏が自己のブログで『Jetpack FAQ』を公開した。ユーザーからの質問にRaskin氏が答える形式で、抽象的な回答にとどまっているものも少なくないが、時折強く興味を惹かれる記述も見られた。

一つ目がこれだ。

Q: Is Jetpack competitive against the Greasemonkey add-on or is the goal really something different?

They are different. Jetpack is informed by the success of Greasemonkey. Greasemonkey is awesome. It’s an add-on that makes it easy to make the current page you are looking at better. Jetpack is about making the entire browser better. We plan on adding support for Greasemonkey scripts to Jetpack to allow them work even better together.

JetpackがGreasemonkeyに影響を受けたことを認めつつ、Greasemonkeyスクリプトが現在閲覧しているページを改善するものであるのに対し、Jetpack(のFeature)はブラウザ全体を改善するものだと位置づけて、目的の違いを強調している。しかし、同時にJetpackがGreasemonkeyスクリプトをサポートし、両者をよりよく動作させる計画もあるとRaskin氏は述べている。

もう一つ、既存のアドオンとの関係も気になるところだ。

Q: Is there a way to port/migrate existing add-ons to the Jetpack model?

Currently, the Jetpack API is limited so not everything possible in current add-ons is possible in Jetpack. Over time, more and more add-ons will be portable to Jetpack.

That said, we plan on creating a converter so that any Jetpack can be turned into a standard XPI-style extensions.

Raskin氏いわく、現在のJetpack APIはアドオンの機能をすべてサポートするレベルには達していないので、アドオンからFeatureへの移植はまだ無理だ。しかし、Jetpack APIを利用したFeatureを、標準的なXPIスタイルの拡張機能へと変換するコンバーターを作成する計画だとしている。

こうした計画がいつ実現されるかは不明であるものの、現在の開発ペースが維持されるならば、遠い先のことではないだろう。なお、Jetpackは来週あたりに大きめのリリースを予定しているそうだ。バージョン0.2.0へのアップデートだろう。