Skip to content

Instantly share code, notes, and snippets.

@pao
Forked from folarb/x
Created January 22, 2010 01:51
Show Gist options
  • Save pao/283431 to your computer and use it in GitHub Desktop.
Save pao/283431 to your computer and use it in GitHub Desktop.
CmdUtils.makeSearchCommand({
names: ["addons"],
icon: "https://addons.mozilla.org/favicon.ico",
author: {
name: "Patrick O'Leary",
email: "patrick.oleary@gmail.com"
},
description: "Searches Mozilla Add-ons for your words",
help: "Doesn't show experimental add-ons (like ubiquity) yet. Enter (part of) the name or the description of an add-on. The first 5 results will be displayed in the preview, hit return to go to the search page",
url: "https://addons.mozilla.org/en-US/firefox/search?q={QUERY}",
defaultUrl: "https://addons.mozilla.org/",
arguments: [{role: 'object', nountype: noun_arb_text}],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment