Created
October 10, 2008 03:31
-
-
Save patcito/15981 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
makeSearchCommand({ | |
name: "dict", | |
author: {name: "Jonathan E. Magen", homepage: "http://yonkeltron.com"}, | |
license: "GPL", | |
url: "http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query={QUERY}", | |
icon: "http://www.dict.org/favicon.ico", | |
description: "Retrieve word definitions from the <a href=\"http://dict.org\">Dict.org DICT server</a>", | |
preview: function( pblock, directObject ) | |
{ | |
if (!directObject.text || directObject.text.length < 1) { | |
pblock.innerHTML = "Retrieves word definitions"; | |
return; | |
} | |
pblock.innerHTML = "Retrieve word definitions for <i>" + directObject.text + "</i>"; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment