This file contains hidden or 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
CmdUtils.CreateCommand({ | |
name: "open", | |
icon: "http://example.com/example.png", | |
author: { name: "Robert B****", email: "robert.b****@gmail.com"}, | |
license: "GPL", | |
description: "Opens sites", | |
help: "Enter 'open' and the site url you want to open.", | |
takes: {"site": noun_arb_text}, | |
preview: function( pblock, site ) { | |
var template = "Opens ${site}"; |
This file contains hidden or 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
makeSearchCommand({ | |
name: "add-on", | |
icon: "https://addons.mozilla.org/favicon.ico", | |
author: { | |
name: "Robert B****", | |
email: "[email protected]" | |
}, | |
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}", |
This file contains hidden or 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
CmdUtils.CreateCommand({ | |
name: "gimage", | |
icon: "http://www.google.com/favicon.ico", | |
author: { | |
name: "Robert B****", | |
email: "[email protected]" | |
}, | |
description: "Searches Google Image for your words.", | |
help: "enter gimage + [what you want to search for] amd hit return to search Google for images", | |
takes: { |
This file contains hidden or 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
CmdUtils.CreateCommand({ | |
name: "gmail", | |
icon: "http://i290.photobucket.com/albums/ll274/airpupil/gmail_icon.png", | |
author: { name: "Robert B****", email: "[email protected]"}, | |
description: "opens gmail inbox", | |
help: "enter 'gmail'and hit return to load the gmail inbox page", | |
preview: function( pblock ) { | |
pblock.innerHTML = "Opens gmail in a new tab, or in the current tab if it's empty."; | |
}, | |
execute: function() { |