extension
グリモンuserscriptをChromeに移植するときに使う、GM APIのラッパっぽいものとプロジェクトテンプレートを書いた - 心魅 〜 cocoromi 〜 上記のエントリーでアップしたChrome用のGreaseMonkeyラッパーのソースをgithubにupしました。http://github.com/umez…
2010/10/17 公開先をGithubにしています。 http://d.hatena.ne.jp/umezo/20100411/1270988391 Chrome速くて良いのですが、いかんせん、グリモンとか便利な物が無い。 そこでグリモンのスクリプトをextensionとしてChromeに持って行きたいのですが、GM_*なAPI…
エクステンションではlocalStorageを使ってデータを保存することができます。 簡単なサンプルは以下のページに載っています。 Options http://code.google.com/chrome/extensions/options.html コンテントスクリプト以外のエクステンション要素からはJavascr…
extensionには様々なパーツがありますが。 それぞれのパーツ間でメッセージングを行うAPIが用意されています。 Message Passing http://code.google.com/chrome/extensions/messaging.html Communication between extensions and their content scripts work…
なおこのプロトタイプは完成しません。 AutoPagerize for Chromeのソースを参考にcontentスクリプトからクロスサイトなxhrをしてみた。AutoPagerize for Chrome http://d.hatena.ne.jp/swdyh/20090525/1243232130 あと個人的な都合でGM_xmlHttpRequestのラッ…
http://code.google.com/chrome/extensions/content_scripts.html However, content scripts have some limitations. They cannot:Use chrome.* APIs (except for parts of chrome.extension) Use variables or functions defined by their extension's page…