From 03db0fc10c42758d78af14ac8d5752e2f9f3ab2c Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 4 May 2010 10:46:53 +0000 Subject: YouTube のタグURL生成を追加 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37363 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stella.js') diff --git a/stella.js b/stella.js index accc881..fafe3cb 100644 --- a/stella.js +++ b/stella.js @@ -984,6 +984,8 @@ Thanks: switch (type) { case Player.URL_ID: return 'http://www.youtube.com/watch?v=' + value + '&fmt=22'; //XXX さりげなく高画質に! + case Player.URL_TAG: + return 'http://www.youtube.com/results?search=tag&search_query=' + encodeURIComponent(value); case Player.URL_SEARCH: return 'http://www.youtube.com/results?search_query=' + encodeURIComponent(value); } -- cgit v1.2.3