-
-
Save cthrax/144577 to your computer and use it in GitHub Desktop.
dictionary.com ubiquity command for parser v2
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
/* command "define" */ | |
CmdUtils.makeSearchCommand({ | |
names: ["define"], | |
icon: "http://dictionary1.classic.reference.com/favicon.ico", | |
homepage: "http://dictionary.com", | |
author: { name: "Myles Bostwick", email: "[email protected]"}, | |
license: "GPL", | |
description: "Search Dictionary.com", | |
help: "define: your word", | |
url: "http://dictionary.reference.com/browse/{QUERY}", | |
preview: function( pblock, args) { | |
var preview = "<p>" + _("No Preview at this time.") + "</p>"; | |
pblock.innerHTML = preview; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment