From 5c5ec6a79c41c493edb59a6bff7bc6848a85debf Mon Sep 17 00:00:00 2001 From: anekos Date: Mon, 15 Feb 2010 09:34:41 +0000 Subject: ニコニコ動画のコメントからリンクが抽出できなくなっていたのを修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36755 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stella.js') diff --git a/stella.js b/stella.js index a540897..14c5fd8 100644 --- a/stella.js +++ b/stella.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = すてら For Niconico/YouTube/Vimeo, Add control commands and information display(on status line). ニコニコ動画/YouTube/Vimeo 用。操作コマンドと情報表示(ステータスライン上に)追加します。 - 0.24.0 + 0.24.1 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -980,7 +980,7 @@ Thanks: try { let xpath = this.xpath.comment; let comment = U.xpathGet(xpath).innerHTML; - let links = U.xpathGets(xpath + '/p/a') + let links = U.xpathGets(xpath + '//a') .filter(function (it) /watch\//.test(it.href)) .map(function(v) v.textContent); links.forEach(function (link) { -- cgit v1.2.3