diff options
author | mattn | 2008-07-31 04:40:00 +0000 |
---|---|---|
committer | mattn | 2008-07-31 04:40:00 +0000 |
commit | 10f15b3d96a9631273613c7a37807a7e8f68e817 (patch) | |
tree | 18aae6cfb9b82d66d431ec508e0e1b47c8664d46 | |
parent | ee197271dfe2709684e910cc67ddeed3b3975464 (diff) | |
download | vimperator-plugins-10f15b3d96a9631273613c7a37807a7e8f68e817.tar.bz2 |
twitterとwassrにクロスポストできるvimperatorコマンド。ソース閲覧禁止
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@16909 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | twissr.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/twissr.js b/twissr.js new file mode 100644 index 0000000..a5de1c6 --- /dev/null +++ b/twissr.js @@ -0,0 +1,14 @@ +// Vimperator plugin: "Update Twitter & Wassr"
+// Last Change: 31-Jul-2008. Jan 2008
+// License: Public domain
+// Maintainer: mattn <mattn.jp@gmail.com> - http://mattn.kaoriya.net/
+
+(function(){
+ liberator.commands.addUserCommand(["twissr"], "Change Twitter & Wassr status",
+ function(arg, special){
+ arg = (special ? '! ' : ' ') + arg;
+ liberator.execute('twitter' + arg);
+ liberator.execute('wassr' + arg);
+ },
+ { });
+})();
|