Skip to content

Instantly share code, notes, and snippets.

@michelemostarda
Created January 16, 2009 08:39
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 michelemostarda/47876 to your computer and use it in GitHub Desktop.
Save michelemostarda/47876 to your computer and use it in GitHub Desktop.
ubiquity command. Opens the goosh shell.
/* This is a template command */
CmdUtils.CreateCommand({
name: "opengoosh",
icon: "http://goosh.org/favicon.ico",
homepage: "http://goosh.org/",
author: { name: "Michele Mostarda", email: "michele.mostarda@gmail.com"},
license: "GPL",
description: "Open the goosh shell",
help: "Simply type: opengoosh",
preview: function( pblock, input ) {
var template = "opengoosh!";
},
execute: function(input) {
Utils.openUrlInBrowser("http://goosh.org/");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment