From ab2154aaa785975780d274799971d60f42672a88 Mon Sep 17 00:00:00 2001
From: anekos
Date: Mon, 11 Apr 2011 20:28:16 +0900
Subject: status サブコマンド追加
---
twittperator.js | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
(limited to 'twittperator.js')
diff --git a/twittperator.js b/twittperator.js
index 086de6e..66f5c0b 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -28,7 +28,7 @@ let PLUGIN_INFO =
Twittperator
Twitter Client using OAuth and Streaming API
OAuth/StreamingAPI対応Twitterクライアント
- 1.13.3
+ 1.14.0
2.3
3.0
teramako
@@ -1961,6 +1961,8 @@ let PLUGIN_INFO =
completer(function(s) ["@" + s.user.screen_name + "#" + s.id + ": " + removeNewLine(s.text), s]),
screenName:
completer(function(s) [s.user.screen_name, s]),
+ statusPage:
+ completer(function(s) [s.user.screen_name + '/status/' + s.id , s]),
hashtag:
function(filter) {
return makeTimelineCompleter(function(context, args){
@@ -2116,6 +2118,13 @@ let PLUGIN_INFO =
timelineCompleter: true,
completer: Completers.screenName(rejectMine)
}),
+ SubCommand({
+ command: ["status"],
+ description: "Open status page.",
+ action: function(arg) liberator.open("http://twitter.com/" + arg, liberator.NEW_TAB),
+ timelineCompleter: true,
+ completer: Completers.statusPage(function (s) s.id)
+ }),
SubCommand({
command: ["thread"],
description: "Show tweets thread.",
--
cgit v1.2.3