From 9e097f8dc9af4fdc5aa48eacb3b0ace794001789 Mon Sep 17 00:00:00 2001 From: trapezoid Date: Fri, 12 Jun 2009 03:09:38 +0000 Subject: [ldrizecooperation_fetch_flv.js] * remove debug code. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@33919 d0d07461-0603-4401-acd4-de1884942a52 --- ldrize_cooperation_fetch_flv.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'ldrize_cooperation_fetch_flv.js') diff --git a/ldrize_cooperation_fetch_flv.js b/ldrize_cooperation_fetch_flv.js index e1f520a..42d5347 100644 --- a/ldrize_cooperation_fetch_flv.js +++ b/ldrize_cooperation_fetch_flv.js @@ -215,11 +215,8 @@ function NiconicoMylistHandler(url, title){ Deferred.wait(count++ * 5).next(function(est){ return Deferred.http.get(nicoWatchEndPoint + videoId).next(function(watchResult){ var html = parseHTML(watchResult.responseText, ['img', 'script']); - Firebug.Console.log(html); var csrfToken = getElementsByXPath('//input[@name="csrf_token"]', html)[0].value; - Firebug.Console.log(csrfToken); var mylists = getElementsByXPath('id("mylist_add_group_id")/option', html).map(function(element) [element.innerHTML, element.value]); - Firebug.Console.log(mylists); var params = [['ajax', '1'], ['mylist', 'add'], ['mylist_add', '“o˜^'], ['csrf_token', csrfToken], ['group_id', groupId]].map(function(p) p[0] + "=" + encodeURIComponent(p[1])).join("&"); return Deferred.wait(count++ * 5).next(function(est){ -- cgit v1.2.3