Skip to content

Instantly share code, notes, and snippets.

/* This is a template command. */
CmdUtils.CreateCommand({
names: ["teddy"],
icon: "http://www.stinkyteddy.com/favicon.ico",
description: "A real time web search",
help: "teddy 'something'",
author: {name: "Daniele Mazzoni", email: "mazzoni.daniele@gmail.com"},
license: "GPL",
homepage: "http://www.google.com/profiles/mazzoni.daniele?hl=en",
arguments: [{role: 'object', nountype: noun_arb_text}],
/* This is a template command. */
var airports = ['AAR','ABZ','AGA','AHO','ALC','LEI','AOC','LBC','AOI','ANG','BAR','BRI','BSL','BHD','EGC','SXF','BZR','BIQ','BLL','BHX','BLQ','BOH','BTS','BRE','WRO','BES','BDS','BRS','BRQ','CRL','BUD','BZG','CAG','CCF','CND','ORK','COR','CUF','LDY','DNR','DSA','DUB','MME','NRN','EMA','EDI','EIN','FAO','FEZ','FSC','HHN','FDH','GDN','GOA','GRO','PIK','GSE','LPA','GRX','GRZ','GNB','HAU','IBZ','XRY','FKB','KTW','KUN','KIR','KLU','NOC','KRK','LRH','SUF','ACE','LBA','LIL','LIG','LNZ','LPL','LCJ','LGW','LTN','STN','LDE','MST','MAD','AGP','MLA','MAN','RAK','MRS','FMM','BGY','MPL','MUN','MJV','NDR','NTE','NCL','NQY','NCE','FNI','OLB','OSI','RYG','TRF','PMO','PMI','BVA','PMF','PUF','PGF','PEG','PSR','PSA','PIS','OPO','POZ','PRG','PUY','REU','RIX','RMI','RDZ','CIA','RZE','SZG','SDR','SCQ','ZAZ','SNN','SVQ','VXO','EBU','NYO','VST','SZZ','TMP','TNG','TFS','TRN','TLN','TUF','TPS','TRS','VLC','VLL','TSF','VBS','ZAD'];
CmdUtils.CreateCommand({
names: ["ryanair"],
icon: "http://ryanair.
/* This is a template command. */
CmdUtils.CreateCommand({
names: ["trenitalia"],
icon: "http://www.mozilla.com/favicon.ico",
description: "A short description of your command.",
help: "How to use your command.",
author: {name: "Your Name", email: "you@mozilla.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
arguments: [{role: 'source', nountype: noun_arb_text}, {role: 'goal', nountype: noun_arb_text}, {role: 'time', nountype: noun_arb_text}, {role: 'object', nountype: noun_arb_text}],
/* This is a template command. */
CmdUtils.CreateCommand({
names: ["atac"],
icon: "http://atac.roma.it/favicon.ico",
description: "Percorso Atac con i mezzi pubblici",
help: "Usa il 'from' per la via di partenza e il 'to' per la via d'arrivo.",
author: {name: "Daniele", email: "mazzoni.daniele@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
/* This is a template command. */
CmdUtils.CreateCommand({
names: ["atac"],
icon: "http://atac.roma.it/favicon.ico",
description: "Percorso Atac con i mezzi pubblici",
help: "How to use your command.",
author: {name: "Daniele", email: "mazzoni.daniele@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
/* This is a template command. */
CmdUtils.CreateCommand({
names: ["atac"],
icon: "http://www.mozilla.com/favicon.ico",
description: "Percorso Atac con i mezzi pubblici",
help: "How to use your command.",
author: {name: "Daniele", email: "mazzoni.daniele@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
arguments: [{role: 'object', nountype: noun_arb_text}],