Skip to content

Instantly share code, notes, and snippets.

@raphsabb
Created January 16, 2009 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raphsabb/47745 to your computer and use it in GitHub Desktop.
Save raphsabb/47745 to your computer and use it in GitHub Desktop.
/*
Perform a googlubuntu search
*/
makeSearchCommand({
name: "buntu",
author: { name: "Raphael Sabbat", homepage: "http://raphsabb.blogspot.com"},
help:
'eg. <i>"buntu intrepid ibex"</i>' + '<br />' +
'eg. <i>"buntu suspend issues on a t60"</i>' + '<br />' +
'eg. <i>"buntu gnomeDo"</i>',
url: "http://www.googlubuntu.com/results/?cx=006238239194895611142%3Au-ocqbntw_o&cof=FORID%3A9&ie=UTF-8&q={QUERY}&sa=Google+Search&lang=en#941",
icon: "http://www.googlubuntu.com/favicon.ico",
description: "Perform a Googlubuntu Search for the given words.",
preview: function(pBlock, directObj) {
if (directObj.text)
pBlock.innerHtml = "Searches Googlubuntu for " + directObj.text;
else
pBlock.innerHTML = "Searches Googlubuntu for the given words.";
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment