From 3499bc4ec693c655c0b72c4e9e36f40eafcbe05c Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 3 Nov 2009 12:15:02 +0000 Subject: XPath 修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35845 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stella.js b/stella.js index 60c9cb6..fe8c4b5 100644 --- a/stella.js +++ b/stella.js @@ -39,7 +39,7 @@ let PLUGIN_INFO = すてら For Niconico/YouTube, Add control commands and information display(on status line). ニコニコ動画/YouTube 用。操作コマンドと情報表示(ステータスライン上に)追加します。 - 0.20.8 + 0.20.9 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -1014,7 +1014,7 @@ Thanks: // コメント欄のリンクの前のテキストをタイトルと見なす // textContent を使うと改行が理解できなくなるので、innerHTML で頑張ったけれど頑張りたくない try { - let xpath = 'id("des_2")/div'; + let xpath = 'id("des_2")/table[2]/tbody/tr/td[2]'; let comment = U.xpathGet(xpath).innerHTML; let links = U.xpathGets(xpath + '/p/a') .filter(function (it) /watch\//.test(it.href)) -- cgit v1.2.3