Skip to content

Instantly share code, notes, and snippets.

//This is a ubiquity command
//it will let you search about timing of your favouraite serial,channel or anything realted to idiot box :)
CmdUtils.CreateCommand({
names: ["timing of","info about serial"],
description: "This command will let you search about the timings of your favorite serial ",
help: "To use this command type the name of the serial whose info you wanna get",
//This is a ubiquity command
//to view a map and diections for places specified by you in India.
CmdUtils.CreateCommand({
names: ["view directions","map directions"],
icon: "chrome://ubiquity/skin/icons/map.png",
description: "This command will open a map which show the directions about how to reach from a given place to a given destination in India",
help: "To view the directions type the name of places whose direction map you want to see",
//This is a ubiquity command
//to view lyrics of a hindi song specified by you.
CmdUtils.CreateCommand({
names: ["lyrics of","show lyrics of"],
//This is a ubiquity command
// it will show the hindi meaning of an english word
CmdUtils.CreateCommand({
names: ["hindi of","meaning in hindi"],
description: "This command will show you the the meaning of an english word in hindi",
help: "To use this command type the word in english and it will direct you to page which will show you its hindi meaning",
author: {name: "Jyoti", email: "mail2jyoti88@gmail.com"},
CmdUtils.CreateCommand({
names: [ 'blogsearch', 'search blog'],
author: {name:"jyoti", email: "mail2jyoti88@gmail.com"},
description:"It will show the blogs according to the keyword specified by you.",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'keyword'}],
_func: function(term)
{
return "http://blogsearch.google.com/blogsearch?hl=en&ie=UTF-8&q="+term+"&btnG=Search+Blogs";
},
CmdUtils.CreateCommand({
names: ['show time in','time'],
author: {name:"jyoti", email: "mail2jyoti88@gmail.com"},
description:"It will show the current time in the place you specified.",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'name of a place'}],
_time: function(term)
{
return "http://www.timeanddate.com/worldclock/results.html?query="+term;
},
CmdUtils.CreateCommand({
name: "show time in",
author: {name:"jyoti", email: "mail2jyoti88@gmail.com"},
description:"It will show the current time in the place you specified.",
takes: {"name of a place" : noun_arb_text},
_time: function(term)
{
return "http://www.timeanddate.com/worldclock/results.html?query="+term;
},