aboutsummaryrefslogtreecommitdiffstats
path: root/fetchyoutube.js
diff options
context:
space:
mode:
authoranekos2008-11-27 04:22:10 +0000
committeranekos2008-11-27 04:22:10 +0000
commitcc153e5645a9be30b17f24a5a2f28200db6c2b26 (patch)
treee2104d44a4590d7aeeee972e8db91078b4e56168 /fetchyoutube.js
parent2416dd87e154a4176840a5f01e311886ca402be2 (diff)
downloadvimperator-plugins-cc153e5645a9be30b17f24a5a2f28200db6c2b26.tar.bz2
Follow CVS Head
etc git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@25067 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'fetchyoutube.js')
-rw-r--r--fetchyoutube.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/fetchyoutube.js b/fetchyoutube.js
index 9b5916e..1167968 100644
--- a/fetchyoutube.js
+++ b/fetchyoutube.js
@@ -40,7 +40,6 @@
if (!doc.location.href.match(/^http:\/\/(?:[^.]+\.)?youtube\.com\/watch/))
return;
let filepath = arg.string;
- let dir = options.getPref('browser.download.dir');
let as = content.document.defaultView.wrappedJSObject.swfArgs;
let title = doc.title.replace(/^YouTube - /, '');
let url = 'http://www.youtube.com/get_video?fmt=22&video_id=' + as.video_id + '&t=' + as.t;