-
-
Save anonymous/21802 to your computer and use it in GitHub Desktop.
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: "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