Created
January 10, 2009 13:35
-
-
Save tcoopman/45454 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.makeSearchCommand({ | |
name: "gdefine", | |
author: { name: "Thomas Coopman" }, | |
license: "GPL", | |
url: "http://www.google.com/search?q=define:{QUERY}", | |
icon: "http://www.google.com/favicon.ico", | |
description: "Searches Google Define for your words.", | |
preview: function(pblock, directObject) { | |
msg = 'Searches Google define for "<i>${query}</i>"'; | |
pblock.innerHTML = CmdUtils.renderTemplate(msg, {query: directObject.text}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment