Created
January 15, 2009 18:38
-
-
Save raphsabb/47525 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
/* | |
A google search into Gawker Media sites. Feel free to improve or send feedback. | |
*/ | |
makeSearchCommand({ | |
name: "gawker", | |
author: { name: "Raphael Sabbat", homepage: "http://raphsabb.blogspot.com"}, | |
help: | |
'eg. <i>"gawker bmw"</i>' + '<br />' + | |
'eg. <i>"gawker linux"</i>' + '<br />' + | |
'eg. <i>"gawker olivia munn"</i>', | |
url: "http://www.google.com/search?hl=en&q=gawker+AND+{QUERY}&btnG=Search", | |
icon: "http://www.gawker.com/favicon.ico", | |
description: "Perform a Google Search @<a href=\"http://www.lifehacker.com\">Gawker Media</a> for the given words.", | |
preview: function(pBlock, directObj) { | |
if (directObj.text) | |
pBlock.innerHtml = "Searches Gawker Media for " + directObj.text; | |
else | |
pBlock.innerHTML = "Searches Gawker Media for the given words."; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment