tinyurlãvimperatorãã
ä¸ããããURLãç¾å¨éãã¦ããURLãtinyurlåãã:tinyurlã³ãã³ãã¨ãtinyurlåãããURLãå±éãã:expandurlã³ãã³ãã追å ããtinyurl.jsãæ¸ããã
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/tinyurl.js
æ®éã®URLããtinyurlã¯APIãç¨æããã¦ã¦
http://tinyurl.com/api-create.php?url=http://d.hatena.ne.jp/hogelog/
ã¨ãã«ãªã¯ã¨ã¹ãéãã ãã§ãããã§ããã©ãæ®å¿µãªãã¨ã«éã«tinyurlåãããURLã¯ãªã¯ã¨ã¹ããéãã¨å
ã®URLãè¿ããããªAPIã¯ç¨æãã¦ããªããå°ã£ããªã¼ã¨æã£ããã§ããã©ãå®ã¯ãããªå°ããã¨ã§ããªãã£ãã
XMLHttpRequest.channel.nameã«リダイレクトのURLが格納されるのでãããèªãã°ããã ãã ã£ãã
ãªã®ã§http://tinyurl.com/6dpndfã«å¯¾ãã¦ãªãã¤ã¬ã¯ãå
ãç¥ããããªã
util.httpGet('http://tinyurl.com/6dpndf').channel.name
ã¨ãããã°ãã*1ã
ã½ã¼ã¹ã³ã¼ããèªãã®ã¯æ¥½ããã§ããã
Thanks
util.copyToClipboard(str, verbose)ã®ç¬¬äºå¼æ°ä½¿ãããã«ä¿®æ£ãã¦ã³ããã
teramako [vimperator] echopyã£ã¦é¢æ°åãç´ æµãã§ããããããechoããªãã¦ãutil.copyToClipboard("hoge",true)ã§è¯ããã ããªã 2008/12/17
http://b.hatena.ne.jp/teramako/20081217#bookmark-11325811
ã¡ãªã¿ã«echopyã¨ãããã¼ãã³ã°ã¯
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/echopy.js
ãã
*1:util.httpGetã¯vimperatorãæä¾ããXMLHttpRequestã®ã©ããé¢æ°