/* This is my first contribution to the ubiquity project. I always find myself performing google searches for lifehacker articles that I've read, or, that I'm looking for. With this command, my search is a keyboard-only 3 step process. Thank you ubiquity! */ makeSearchCommand({ name: "lh", author: { name: "Raphael Sabbat", homepage: "http://raphsabb.blogspot.com"}, help: 'eg. "lh ubiquity"' + '
' + 'eg. "lh ubuntu"' + '
' + 'eg. "lh hive five"', url: "http://www.lifehacker.com/search/{QUERY}", icon: "http://www.lifehacker.com/favicon.ico", description: "Search Lifehacker.com for the given words.", preview: function(pBlock, directObj) { if (directObj.text) pBlock.innerHtml = "Searches Lifehacker.com for " + directObj.text; else pBlock.innerHTML = "Searches Lifehacker.com for the given words."; } });