diff options
author | trapezoid | 2009-06-12 03:09:38 +0000 |
---|---|---|
committer | trapezoid | 2009-06-12 03:09:38 +0000 |
commit | 9e097f8dc9af4fdc5aa48eacb3b0ace794001789 (patch) | |
tree | c0edd7db77efc4fabae95c437fe2bec5684cac31 /ldrize_cooperation_fetch_flv.js | |
parent | 57664cc7a533f051d6815255cfc04727cf20a609 (diff) | |
download | vimperator-plugins-9e097f8dc9af4fdc5aa48eacb3b0ace794001789.tar.bz2 |
[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
Diffstat (limited to 'ldrize_cooperation_fetch_flv.js')
-rw-r--r-- | ldrize_cooperation_fetch_flv.js | 3 |
1 files changed, 0 insertions, 3 deletions
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){
|