aboutsummaryrefslogtreecommitdiffstats
path: root/stella.js
diff options
context:
space:
mode:
authoranekos2011-01-28 19:47:38 +0900
committeranekos2011-01-28 19:47:38 +0900
commit09cc06e6121065a7082eb04324d10ba0e48c2111 (patch)
treea0ded0149bd23369feb79c971475511dfd699849 /stella.js
parent8b93b234134423b36e35d79f45ec012b2ae850bc (diff)
downloadvimperator-plugins-09cc06e6121065a7082eb04324d10ba0e48c2111.tar.bz2
YouTube変更に対応
Diffstat (limited to 'stella.js')
-rw-r--r--stella.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/stella.js b/stella.js
index eb93a19..f3ace1d 100644
--- a/stella.js
+++ b/stella.js
@@ -1,5 +1,5 @@
/* {{{
-Copyright (c) 2008-2010, anekos.
+Copyright (c) 2008-2011, anekos.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -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.32.4</version>
+ <version>0.32.5</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>
@@ -883,10 +883,7 @@ Thanks:
get pageinfo () {
let doc = content.document;
- let wd = doc.querySelector('#watch-description > div > span > span.watch-video-date');
- let desc = wd.nextSibling;
- while (desc && desc.tagName != 'SPAN')
- desc = desc.nextSibling;
+ let desc = doc.querySelector('#eow-description');
return [
[
'comment',
@@ -894,7 +891,10 @@ Thanks:
],
[
'tags',
- U.toXML(doc.querySelector('#watch-tags > div').innerHTML)
+ XMLList([
+ <span>[<a href={v.href}>{v.textContent}</a>]</span>
+ for ([, v] in Iterator(doc.querySelectorAll('#eow-tags > li > a')))
+ ].join(''))
],
[
'quality',