Skip to content

Instantly share code, notes, and snippets.

@hamen
Created July 15, 2009 10:13
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 hamen/147623 to your computer and use it in GitHub Desktop.
Save hamen/147623 to your computer and use it in GitHub Desktop.
CmdUtils.makeSearchCommand({
name: "devmo",
description: "Search developer.mozilla.com for your words",
author: {name: "Ivan Morgillo", email: "imorgillo [at] sanniolug [dot] org"},
homepage: "http://hamen.org",
license: "GPL v3",
url: "https://developer.mozilla.org/Special:Search?search={QUERY}&type=fulltext",
parser: {container: "div#searchResults > ul > li", title: "div.title > a + a", preview: "div.searchpreview"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment