aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-04-03 02:15:11 +0000
committeranekos2009-04-03 02:15:11 +0000
commit76d49e5543eb33648c2a6e29b7e9c60eb1781ad8 (patch)
treebb66c6ebc151e285d6b16566115c1f579587117d
parent082b37ac3ae5d70e0855231be8dc9d745bea5d35 (diff)
downloadvimperator-plugins-76d49e5543eb33648c2a6e29b7e9c60eb1781ad8.tar.bz2
ニコニコ動画の変更に対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@31848 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--stella.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/stella.js b/stella.js
index 64647e4..702ba81 100644
--- a/stella.js
+++ b/stella.js
@@ -39,12 +39,12 @@ let PLUGIN_INFO =
<name lang="ja">すてら</name>
<description>Show video informations on the status line.</description>
<description lang="ja">ステータスラインに動画の再生時間などを表示する。</description>
- <version>0.20.3</version>
+ <version>0.20.4</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>
- <minVersion>2.0pre</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <minVersion>2.0</minVersion>
+ <maxVersion>2.1pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/stella.js</updateURL>
<detail><![CDATA[
== Commands ==
@@ -1014,7 +1014,7 @@ Thanks:
// コメント欄のリンクの前のテキストをタイトルと見なす
// textContent を使うと改行が理解できなくなるので、innerHTML で頑張ったけれど頑張りたくない
{
- let xpath = '//*[@id="des_2"]/table/tbody/tr/td/div[2]';
+ let xpath = '//*[@id="des_2"]/p[2]';
let comment = U.xpathGet(xpath).innerHTML;
let links = U.xpathGets(xpath + '/a')
.filter(function (it) /watch\//.test(it.href))