Skip to content

Instantly share code, notes, and snippets.

@fundaman123
fundaman123 / gist:10707
Created September 14, 2008 04:51
Ubiquity - Web Traffic Stats.
if (CmdUtils.parserVersion == 2) {
CmdUtils.CreateCommand({
names: ["traffic"],
icon: "http://siteanalytics.compete.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Get Compete traffic statistics.",
homepage: "http://pratham.name/",
arguments: [{role: 'object', nountype: noun_arb_text, label: 'example.com'}],
preview: function (html, q) {
@fundaman123
fundaman123 / gist:10706
Created September 14, 2008 04:51
Ubiquity - Google Trends.
if (CmdUtils.parserVersion == 2) {
CmdUtils.CreateCommand({
names: ["trends", "google trends", "google search trends"],
icon: "http://www.google.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Google Trends.",
homepage: "http://pratham.name/",
arguments: [{role: 'object', nountype: noun_arb_text, label: 'query'}],
preview: function (html, args) {
@fundaman123
fundaman123 / gist:10704
Created September 14, 2008 04:50
Ubiquity - Google Image Search.
if (CmdUtils.parserVersion == 2) {
CmdUtils.CreateCommand({
names: ["image", "gim"],
icon: "http://www.google.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Google Image Search - shows the first result as a preview",
homepage: "http://pratham.name/",
arguments: [{role: 'object', nountype: noun_arb_text, label: 'query'}],
preview: function (html, q) {
@fundaman123
fundaman123 / gist:10703
Created September 14, 2008 04:49
Ubiquity - Check the Web Host.
CmdUtils.CreateCommand({
name: "host",
icon: "http://www.whoishostingthis.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Check the web host of any site.",
homepage: "http://pratham.name/",
takes: {"example.com": noun_arb_text},
preview: function (html, q) {
var params = {};
@fundaman123
fundaman123 / gist:10702
Created September 14, 2008 04:48
Ubiquity - Checks if a site is down.
CmdUtils.CreateCommand({
name: "site-down",
icon: "http://downforeveryoneorjustme.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Checks if a site is down.",
homepage: "http://pratham.name/",
takes: {"example.com": noun_arb_text},
preview: function (html, q) {
var params = {};
@fundaman123
fundaman123 / gist:10700
Created September 14, 2008 04:45
Ubiquity - Search Domain Names
CmdUtils.CreateCommand({
name: "search-domain-name",
icon: "http://instantdomainsearch.com/favicon.ico",
author: {name: "Pratham Kumar", email: "pratham@pratham.name"},
description: "Checks availabilty of the domain name with com/net/org TLDs.",
homepage: "http://pratham.name/",
takes: {"example.com": noun_arb_text},
preview: function (html, q) {
var params = {name: q.text};