aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-11-03 12:15:02 +0000
committeranekos2009-11-03 12:15:02 +0000
commit3499bc4ec693c655c0b72c4e9e36f40eafcbe05c (patch)
tree662ca41c21f49ca201cba7dbee7796019841db51
parentdb24ae5afa00146ae709a44a28a65adf400f1aa8 (diff)
downloadvimperator-plugins-3499bc4ec693c655c0b72c4e9e36f40eafcbe05c.tar.bz2
XPath 修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35845 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--stella.js4
1 files 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 =
<name lang="ja">すてら</name>
<description>For Niconico/YouTube, Add control commands and information display(on status line).</description>
<description lang="ja">ニコニコ動画/YouTube 用。操作コマンドと情報表示(ステータスライン上に)追加します。</description>
- <version>0.20.8</version>
+ <version>0.20.9</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
@@ -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))