aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2010-02-15 09:34:41 +0000
committeranekos2010-02-15 09:34:41 +0000
commit5c5ec6a79c41c493edb59a6bff7bc6848a85debf (patch)
tree3ee513cd887b5b7b8e23136952de5eb8309ed455
parentb4ead8c29b38ba28392e2ad17849c842d35f23d8 (diff)
downloadvimperator-plugins-5c5ec6a79c41c493edb59a6bff7bc6848a85debf.tar.bz2
ニコニコ動画のコメントからリンクが抽出できなくなっていたのを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36755 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 a540897..14c5fd8 100644
--- a/stella.js
+++ b/stella.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
<name lang="ja">すてら</name>
<description>For Niconico/YouTube/Vimeo, Add control commands and information display(on status line).</description>
<description lang="ja">ニコニコ動画/YouTube/Vimeo 用。操作コマンドと情報表示(ステータスライン上に)追加します。</description>
- <version>0.24.0</version>
+ <version>0.24.1</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>
@@ -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) {