|
@@ -102,8 +102,7 @@ plugins.options["search-url-list"] = [ |
|
|
"http://maps.google.co.jp/maps?hl=ja&q=%q&um=1&ie=UTF-8&sa=N&tab=wl"], |
|
|
"http://maps.google.co.jp/maps?hl=ja&q=%q&um=1&ie=UTF-8&sa=N&tab=wl"], |
|
|
["weblio","http://www.weblio.jp/content_find?query=%q"], |
|
|
["weblio","http://www.weblio.jp/content_find?query=%q"], |
|
|
["shoutcast","http://www.shoutcast.com/Internet-Radio/%q"], |
|
|
["shoutcast","http://www.shoutcast.com/Internet-Radio/%q"], |
|
|
["delicious 10sr", |
|
|
|
|
|
"http://delicious.com/10sr?addtag=%q&setcount=50&opennew=1"], |
|
|
|
|
|
|
|
|
["delicious 10sr", "http://delicious.com/10sr/%q"], |
|
|
["open raw","%r"] |
|
|
["open raw","%r"] |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
@@ -681,7 +680,8 @@ ext.add("query-then-engine", function () { |
|
|
prompt.reader({ |
|
|
prompt.reader({ |
|
|
message : "Search Word?:", |
|
|
message : "Search Word?:", |
|
|
group : "query_word", |
|
|
group : "query_word", |
|
|
completer : completer.matcher.header(share.friendsCache || []), |
|
|
|
|
|
|
|
|
// completer : completer.matcher.header(share.friendsCache || []), |
|
|
|
|
|
initialInput : content.document.getSelection() || "", |
|
|
callback : function (q) { |
|
|
callback : function (q) { |
|
|
if (q) { |
|
|
if (q) { |
|
|
prompt.selector({ |
|
|
prompt.selector({ |
|
@@ -693,12 +693,14 @@ ext.add("query-then-engine", function () { |
|
|
getBrowser().addTab( |
|
|
getBrowser().addTab( |
|
|
plugins.options["search-url-list"][i][1]. |
|
|
plugins.options["search-url-list"][i][1]. |
|
|
replace("%r",q).replace( |
|
|
replace("%r",q).replace( |
|
|
"%q",encodeURIComponent(q))); |
|
|
|
|
|
|
|
|
"%q",encodeURIComponent(q) |
|
|
|
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
; |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
|
|
|
initialInput : content.document.getSelection() || "" |
|
|
|
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, "enter search word and then select engine"); |
|
|
}, "enter search word and then select engine"); |
|
|
|
|
|
|
|
|