Skip to content

Instantly share code, notes, and snippets.

/x
Created Nov 3, 2008

Embed
What would you like to do?
CmdUtils.CreateCommand({
name: "ytmnd",
author: { name: "David Braun", email: "braunb4brain@yahoo.com"},
icon: "http://i257.photobucket.com/albums/hh207/BraunB4Brain/ytmnd.png",
contributors: ["David Braun"],
license: "MPL",
description: "Search ytmnd.com",
help: "Enter a search at ytmnd.com",
takes: {"search string": noun_arb_text},
preview: "Search all of ytmnd.com.",
execute: function( search_string ) {
var prefix_url = "http://www.ytmnd.com/search?q=";
var search_url = prefix_url + search_string.text;
Utils.openUrlInBrowser(search_url);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.