From 92c69ea625e531f99fdefdb8e150f510f7461799 Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 4 Feb 2009 10:04:26 +0000 Subject: ニコニコ動画のコメント動画からリンクを抽出して、関連動画として扱うようにした。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29524 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 76 +++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 17 deletions(-) diff --git a/stella.js b/stella.js index e2ab611..991791a 100644 --- a/stella.js +++ b/stella.js @@ -39,13 +39,13 @@ let PLUGIN_INFO = すてら Show video informations on the status line. ステータスラインに動画の再生時間などを表示する。 - 0.16 + 0.17.0 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) 2.0pre 2.0pre - http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/stella.js + {'http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/' + __context__.PATH.match(/[^\\\/]+\.js$/)} ])([^\u3000\\s\\>]+)\\s*').exec(comment); + if (r) + videos.push(new RelatedID(link, r[1])); + }); + } + return this.__rid_cache = videos; }, -- cgit v1.2.3