diff options
author | anekos | 2010-02-15 09:34:41 +0000 |
---|---|---|
committer | anekos | 2010-02-15 09:34:41 +0000 |
commit | 5c5ec6a79c41c493edb59a6bff7bc6848a85debf (patch) | |
tree | 3ee513cd887b5b7b8e23136952de5eb8309ed455 | |
parent | b4ead8c29b38ba28392e2ad17849c842d35f23d8 (diff) | |
download | vimperator-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.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |