Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created January 22, 2009 20:24
Show Gist options
  • Save mikedamage/50693 to your computer and use it in GitHub Desktop.
Save mikedamage/50693 to your computer and use it in GitHub Desktop.
/* Lifehacker Blog Search */
CmdUtils.CreateCommand({
name: "lifehacker",
icon: "http://lifehacker.com/favicon.ico",
preview: "Search Lifehacker blog articles",
author: { name: "Mike Green", email: "mike.is.green@gmail.com" },
license: "GNU GPL",
takes: {"input": noun_arb_text},
execute: function(input) {
Utils.openUrlInBrowser("http://lifehacker.com/search/"+encodeURIComponent(input.text));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment