diff options
author | janus_wel | 2008-10-07 14:40:51 +0000 |
---|---|---|
committer | janus_wel | 2008-10-07 14:40:51 +0000 |
commit | b91995af595b8ffe1b87964dc6080efb761671e6 (patch) | |
tree | 0682ec557ef93756b4310400f525dad03beb02f2 /matanico.js | |
parent | 8bf630de4882e8ac26b008b0a5baed2601752558 (diff) | |
download | vimperator-plugins-b91995af595b8ffe1b87964dc6080efb761671e6.tar.bz2 |
add "bang" property to extra object when addUserCommand (matanico.js, nicontroller.js)
change https on post message (matanico.js)
correct URL for pathtraq in function canonicalizeURL (reading.js)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20930 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'matanico.js')
-rw-r--r-- | matanico.js | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/matanico.js b/matanico.js index 6bdd4c6..cfdb6e1 100644 --- a/matanico.js +++ b/matanico.js @@ -66,18 +66,20 @@ * let g:matanico_related_tag_servicename='またキーワードでニコニコタグ検索してる'
*
* HISTORY
- * 2008/06/14 v0.10 initial written.
- * 2008/06/27 v0.20 change replace argument to regexp with 'g' option.
- * add matanico! command.
- * refactoring
- * display sended status if succeed.
- * 2008/06/28 v0.21 change display strings, 'Yanked ' and 'Posted '
- * 2008/07/13 v0.30 change xpath function and xpath query
- * 2008/07/14 v0.40 change url checking
- * 2008/07/15 v0.50 make NicoScraper class
- * add function to post tag page
- * refer : http://nicovideo.g.hatena.ne.jp/koizuka/20080322/matanico_tag
- * 2008/09/04 v0.60 add function to post related tag page
+ * 2008/06/14 ver. 0.10 - initial written.
+ * 2008/06/27 ver. 0.20 - change replace argument to regexp with 'g' option.
+ * - add matanico! command.
+ * - refactoring
+ * - display sended status if succeed.
+ * 2008/06/28 ver. 0.21 - change display strings, 'Yanked ' and 'Posted '.
+ * 2008/07/13 ver. 0.30 - change xpath function and xpath query.
+ * 2008/07/14 ver. 0.40 - change url checking.
+ * 2008/07/15 ver. 0.50 - make NicoScraper class.
+ * - add function to post tag page.
+ * refer : http://nicovideo.g.hatena.ne.jp/koizuka/20080322/matanico_tag
+ * 2008/09/04 ver. 0.60 - add function to post related tag page.
+ * 2008/10/08 ver. 0.61 - correspond vimperator specification
+ * "bang" in extra object on addUserCommand.
* */
(function() {
@@ -246,7 +248,7 @@ liberator.commands.addUserCommand(['matanico'], "update Twitter's status to curr // twitter's URL to post
var domain = 'http://twitter.com/';
- var postURL = 'http://twitter.com/statuses/update.json';
+ var postURL = 'https://twitter.com/statuses/update.json';
// get user account for twitter
var [user, pass] = getUserAccount(domain, postURL, null);
@@ -271,7 +273,9 @@ liberator.commands.addUserCommand(['matanico'], "update Twitter's status to curr }
},
// complete logic is none.
- {}
+ {
+ bang: true,
+ }
);
// stuff functions
|