This file contains 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
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) { |
This file contains 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
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) { |
This file contains 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
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) { |
This file contains 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: "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 = {}; |
This file contains 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: "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 = {}; |
This file contains 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: "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}; |