This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "keepvid", | |
icon: "http://keepvid.com/favicon.ico", | |
author: {name: "Ryan Peach", email: "browlerakill@gmail.com"}, | |
license: "GPL", | |
description: "Downloads Youtube videos through KeepVid", | |
help: "Go to the youtube video you want to download in your browser, then execute this command.", | |
takes: {"video url": noun_arb_text}, | |
preview: function(pblock, videoURL) { | |
//This gets the present url of the active window/tab and names it "doc" |