rel-tagからGoogle Reader検索へ
2010/05/09
Firefoxアドオン、Operator用のユーザースクリプト。Google Readerの検索にページのタグ情報を利用します。使用の際Googleに要ログイン
// Google Reader search
var gr_search = {
description: "Google Reader search",
shortDescription: "Google Reader search",
scope: {
semantic: {
"tag" : "tag"
}
},
doAction: function(semanticObject, semanticObjectType) {
if (semanticObject.tag) {
return "http://www.google.com/reader/view/#search/" + encodeURIComponent(semanticObject.tag);
}
}
};
SemanticActions.add("gr_search", gr_search);