From 09cc06e6121065a7082eb04324d10ba0e48c2111 Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 28 Jan 2011 19:47:38 +0900 Subject: YouTube変更に対応 --- stella.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'stella.js') 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 = すてら For Niconico/YouTube/Vimeo, Add control commands and information display(on status line). ニコニコ動画/YouTube/Vimeo 用。操作コマンドと情報表示(ステータスライン上に)追加します。 - 0.32.4 + 0.32.5 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -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([ + [{v.textContent}] + for ([, v] in Iterator(doc.querySelectorAll('#eow-tags > li > a'))) + ].join('')) ], [ 'quality', -- cgit v1.2.3