aboutsummaryrefslogtreecommitdiffstats
path: root/fetchyoutube.js
diff options
context:
space:
mode:
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;