From 08c8d6c04cf9694bd754bded362049583d905f8f Mon Sep 17 00:00:00 2001
From: anekos
Date: Tue, 4 May 2010 10:24:21 +0000
Subject: YouTube のタグに対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37359 d0d07461-0603-4401-acd4-de1884942a52
---
stella.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'stella.js')
diff --git a/stella.js b/stella.js
index 2596a8f..0172117 100644
--- a/stella.js
+++ b/stella.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
すてら
For Niconico/YouTube/Vimeo, Add control commands and information display(on status line).
ニコニコ動画/YouTube/Vimeo 用。操作コマンドと情報表示(ステータスライン上に)追加します。
- 0.26.6
+ 0.26.7
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
@@ -924,6 +924,10 @@ Thanks:
get relations () {
let result = [];
let doc = content.document;
+ for each (let item in Array.slice(doc.querySelectorAll('#watch-tags > div > a'))) {
+ liberator.log(item);
+ result.push(new RelatedTag(item.textContent));
+ }
for each (let item in Array.slice(doc.querySelectorAll('.video-list-item'))) {
let url = item.querySelector('a').href;
if (!YouTubePlayer.isVideoURL(url))
--
cgit v1.2.3