Labs/Ubiquity/Commands In The Wild: Difference between revisions

From MozillaWiki
< Labs‎ | Ubiquity
Jump to navigation Jump to search
Line 132: Line 132:
* [http://point.pt/~guillaume/ubiquity/feeling-lucky.html Feeling-lucky] is a simple command that looks up the first result and displays it on the preview, and upon hitting enter, it executes by opening that particular web-page.
* [http://point.pt/~guillaume/ubiquity/feeling-lucky.html Feeling-lucky] is a simple command that looks up the first result and displays it on the preview, and upon hitting enter, it executes by opening that particular web-page.
* [http://point.pt/~guillaume/ubiquity/feeling-lucky.html Link-to-feeling-lucky] is a command that is similar to ''link-to-wikipedia'': upon execution it injects a link to google's first result on the rich text-editing field. Quite handy when linking to companies websites while blogging.
* [http://point.pt/~guillaume/ubiquity/feeling-lucky.html Link-to-feeling-lucky] is a command that is similar to ''link-to-wikipedia'': upon execution it injects a link to google's first result on the rich text-editing field. Quite handy when linking to companies websites while blogging.
''[[GRiflet]]: I renamed these commands to their natural names. The old commands with their original names can still be found [http://point.pt/~guillaume/ubiquity/myCows.html here]''
''[[User:Griflet]]: I renamed these commands to their natural names. The old commands with their original names can still be found [http://point.pt/~guillaume/ubiquity/myCows.html here]''


==Multiple site search==
==Multiple site search==

Revision as of 09:49, 8 September 2008

Back to Labs/Ubiquity.

LEGAL NOTICE: Mozilla is providing links to these third-party Ubiquity commands as a courtesy, and makes no representations regarding the commands or any information related there to. Any questions, complaints or claims regarding the commands must be directed to the appropriate developer or software vendor.

Commands in the Wild

Please note that the main way we'd like commands to be distributed and shared in the future is via The Ubiquity Herd. Right now there isn't any social functionality on the Herd, though, which is why we're using this page to allow for user-contributed commentary and discussion. At some point in the near future we'll be adding this kind of functionality to the Herd and will migrate the content on this page there.

There Be Dragons Here

Pioneering can be crazy fun, but also a bit dangerous. The commands referenced here have not been reviewed by Mozilla. They may contain malicious code, so use them only at your own risk. Until Ubiquity becomes more mature, we recommend only adding commands that come from people you trust, or if you've read the code and know that they are safe.

Beware that even if you review the code before subscribing, the code may be subject to change from the publisher, and your copy will automatically update on firefox restart. This problem will be remedied in later versions of Ubiquity.

Country specific Commands

CN

  • ubidu: Search Baidu.com, the No.1 search engine in China.
  • Fanfou Command - post to Fanfou.com (飯否)

DK

  • mitkbh: search locations and reviews in Copenhagen
  • tv: Danish tv guide

KR

  • me2day - Enables ubiquity to send posts to me2DAY(http://me2day.net) a Korean microblogging site. setme2daykey command sets the username and userkey that is required for posting.

JA

TR

TW

  • ydic: Translate English word to Tratitional Chinese

UK

  • yell: Search Yell.com for businesses in the UK
  • amazonuk: Search Amazon.co.uk for any item. A version of amazon-search-all customised for the UK version of the Amazon site.
  • journey: Searches the TfL journeyplanner for a destination. Currently has hardcoded start point and walking speed.

Multiple Countries

  • amazon-locale: Perform a 'Blended' search on Amazon Germany, UK, USA, Japan or Canada.

Directory Search

  • yell: Search Yell.com for businesses in the UK

Web Search

Site-specific Search

Web Lookup

whois: Performs a whois on selected or typed URL/IP.

ping: Pings the selected or typed URL/IP

lookup: Performs a lookup on selected or typed URL/IP.

tracert: Performs a tracert on selected or typed URL/IP.

just-ping: Pings the selected or typed URL/IP from 32 checkpoints worldwide.

isdown: Takes selected or typed URL and determines if it is working using the downforeveryoneorjustme.com tool.

Whats-My-IP: Gets your IP address and displays it in the preview. Copies IP to clipboard on execute.

Google

extensions of the core commands

Google Feeling Lucky

  • Feeling-lucky is a simple command that looks up the first result and displays it on the preview, and upon hitting enter, it executes by opening that particular web-page.
  • Link-to-feeling-lucky is a command that is similar to link-to-wikipedia: upon execution it injects a link to google's first result on the rich text-editing field. Quite handy when linking to companies websites while blogging.

User:Griflet: I renamed these commands to their natural names. The old commands with their original names can still be found here

Multiple site search

  • multi-search: Searches Google, Yahoo, MSN Live and Ask.com simultaneously, in different tabs.

Picitup Visual Search

[1]: 2 commands:

  • shop - Executes a shopping search with visual similarity and shopping compariosn - [2]
  • picitup - Executes a visual search query agianst, Yahoo, Flikcr and Picasa image search engines [3]

Legal Citation Search

  • legal-cite: Executes search of AltLaw for U.S. Code (federal statutes) and some federal case law (i.e., Supreme Court Opinions and federal appeals court opinions that were reported by West)

Oracle

Torrent Search

  • torrent: Search for torrents on ALL the big trackers at once (uses Torrent Vortex and Torrent-Finder)
  • mininova: Performs a search for the selected text on Mininova. Optionally, a category can be defined, e.g. Books, Anime, etc.)
  • mininova-imdb: Performs a search on Mininova.org for a given IMDB code (with or without the 'tt'-prefix).
  • piratebay: Performs a search for the selected text on ThePirateBay. Optionally, a category can be defined, e.g. Audio, Video, etc.)
  • search-torrentz: Search for torrents on Torrentz.com
  • torrent-search: Searches on PirateBay, Isohunt and Torrentz simultaneously, in different tabs.
  • tokyotosho: Searches and lists TokyoTosho.com torrents. (Optionally, a category can be defined, e.g. Anime, Manga, Drama, Raws, etc.)

Natural Languages

Programming Languages

Asterisk

Labs/Ubiquity/dial: Configure your Asterisk PBX to use the 'dial' command for Ubiquity.

jQuery

  1. jquery: Searches the jQuery documentation.

PHP

php search PHP function documentation example: php join()

phpd search PHP documentation example: phpd class

Perl

perldoc, cpan, monks: Three commands, one each to search perldocs, CPAN and perlmonks.org

ActionScript

as3livedocs, as3desc, as3package: Three commands, one to open up livedocs page given a class, one to give the description of an actionscript class and another to give the package to which a class belongs to.

Coldfusion

coldfusion: Search the Coldfusion 8 LiveDocs.

MySQL

mysql

  • mysql: Search all of the MySQL documentation.
  • mysql5: Search the MySQL 5.0 reference manual.
  • mysql5.1: Search the MySQL 5.1 reference manual.
  • mysql6: Search the MySQL 6.0 reference manual.
  • mysql-admin: Search the MySQL administrator reference manual.
  • mysql-query-browser: Search the MySQL query browser reference manual
  • mysql-migration-toolkit: Search the MySQL migration toolkit reference manual.
  • mysql-workbench: Search the MySQL workbench reference manual.

Java

Java API - Wraps a google search pointing to the java API

Javascript

Beautify-JS - Let's you nicely reformat any selected javascript code. Handy for Ubiquity verb authors.

HTML Validation

W3C Validator Ubiquity Plugin Submits the current page to the W3C's markup validator. Enter the command "validate" on any publicly available web page and hit enter.

Drupal API

Drupal API Ubiquity Plugin Lookup functions, files, constants, etc. in Drupal's API. Enter the command "drupal" followed by what you wish to lookup. Hit enter to be taken to that item in the API.

URL Tools

LongURL

expand-short-url Uses the LongURL service to expand URLs shortened with any shortening service (TinyURL.com, Bit.ly, etc.)

Bit.ly

Shorten URL and copy to clipboard using bit.ly service: http://bit.ly/18Fsn2

Shorten and replace selected URL in a Rich Text Field or reverse an already shortened bit.ly URL: http://bit.ly/315THd

Hurl.ws

Shorten a URL using hurl. Simply navigate to hurl.ws to install using firefox. Use the command "hurl"

a.longreply.com

Use a.longereply.com to convert any section of text into a URL so you can then send this link via IM, Twitter, email? Can send very large peices of text. Use the command "longreply". To install it a.longreply.com

shorten

The all in one URL shortner: vunite's commands Usage: shorten [url] using [tinyurl|isgd|bitly|hurl]

kissa.be

A new kissalt, url shortening service, kissalt means "shorten" in Turkish (original word: kisalt)

Other URL manipulation

  • URL Tool - Converts selected URLs to links or lets you choose which one to open in a new tab.
  • insert-link - Search for a link in your history and insert it.
  • Percent Encoding Tools Commands to percent encode as well as decode (aka "URI encoding") selected text. Provides preview and/or replaces selected text.

Web 2.0 (Social networks, blogs, recommenders, etc)

Del.icio.us

Add a page to your delicious bookmarks

Script: http://gist.github.com/7516

To use, just type delicious + your tags.

Another Command: http://decafbad.com/UbiquityCommands/

Highlight some text on the page for notes, activate Ubiquity, enter command share-on-delicious. You can also enter your own notes, assign tags to the bookmark with the "tagged" modifier, and alter the bookmark default page title with the "entitled" modifier. Note that you must also already be logged in at delicious.com to use this command.

View a users delicious tags

Script: http://parentno.de/ubiquity/?command=get-delicious

Shows del.icio.us bookmarks from this user {username} tagged with {tagname} To use, type get-delicious {username} tag {tagname}

View the 10 most recent/popular bookmarks in delicious

Script: http://tinyurl.com/6xwwau/ubiquity/delicious.html

Shows the 10 most recent/popular del.icio.us bookmarks. To use, type recent-delicious or popular-delicious. A basic save-delicious is included as well.

Facebook

Lets you update your status and go quickly to a friend's profile.

[script] with two commands:

  • 'facebook-status (your status)' - Updates your status, doesn't add "is"!
  • 'facebook-friend (your friend)' - Locate a friend. You have to type whole words, though (if searching for Amy Jones, you can't type Amy Jon; it must be one of: amy, jones, amy jones!)

Alternative Script

(by a different author)

Lets you update your status.

Script: http://home.comcast.net/~captainbeah/ubiquity/facebook/

Two commands:

  • 'fbsetstatus' - Sets Facebook status
  • 'fbsetsessionkey' - Sets Facebook session key, must run once before 'fbsetstatus'

There is a Facebook application associated with this command. You will automatically be asked to log in to the Facebook application the first time you use 'fbsetstatus'. You will then have to (on the same page) tell Facebook that Ubiquity is allowed to update your status, as well as provide Ubiquity with your Facebook session key.

I know this is a pain since Grant's is much easier to set up, but I have plans to add a photo-uploading command in the future, which can only be done my way.

Hatena

Identi.ca

Script: [[4]] Allows you to post to Identi.ca from Mozilla Ubiquity. To use, install from link, open Ubiquity and type "identi.ca" followed by your status message.

Sphinn

  1. sphinn: Sphinns the typed url, or highlighted url, or otherwise the current page.

Jaiku

Script: http://ubiquity.pastebin.com/f495c6d62 To add your username and api key use the command: jaiku-setuserandkey <username> api <apikey> -- you can get your api key on http://api.jaiku.com (inspired by http://trodrigues.net/ubiquity/pingfm/) to post: jaiku <you presence> at <location> : The location is optional, if you don't pass, the script will try to guess it using CmdUtils.getGeoLocation().

Idiquity

Idiquityallows updating and checking your timeline from Ubiquity. More functionality is to come; details are at the site. It is compatible with any Laconi.ca based site (or any site with a Twitter compatible API).

News and Feed Readers

NYTimes recent Headlines: autosuggest recent headlines when you are typing; and if no matching, just hit enter, you will go to NYTimes.com search page.

Simple news feed: Returns latest headlines from various vendors such as bbc, cnn and digg.

Planetaki Commands: Add the website you're visiting to your Planet

get-news: Enables you to search Google News for news titles.

123people People Search

Let's you search people meta data from around the world via Ubiquity.

Script accessible via http://www.123people.com

type "people search" and the name or highlight the name you want to search for.

Slashdot

Ping.fm

Allows you to post messages via the ping.fm service.

Script: http://ubiquity.washing-up.co.uk/pingfm.html

The first time it is used, you must provide it with your ping.fm app key by typing "ping <your message> app_key <your app key>" Once it has stored your app key, you do not need to provide it again, and can just type "ping <message>" At present all messages go via your default ping.fm posting method. Your app key can be found at http://ping.fm/key

Tonight.eu

Lets you to search venues, restaurants and events in some big european cities.

Script: http://www.tonight.eu/ubiquity/

Bugmenot

A password database site for general public

bugmenot, username password retrieving from bugmenot

Google Bookmark

Adds the current page to your Google bookmarks with the title you give it. Still rather rough - not robust against invalid inputs. http://www.cs.washington.edu/homes/butaud/ubiquity.html

Gmail

  • Gmail Status Message Update your Google Talk status message in Gmail
  • Smiley Insert smileys into your email message (also works with other email or blog)
  • GMail Edit Edit of an old Ubiquity script to work with latest version (.1.1). Opens Gmail in a new tab, as well as showing you the last couple of new messages in the preivew.

Reddit

Urdna's 'Reddit-This' command

Social Graph (FOAF/XFN etc)

DanBri's 'foaf' command (calls Google SGAPI)

Stickam

http://stickhacks.googlepages.com - Watch someone's live Stickam stream without going to their profile

mYoUvies.com

movieshare: Allows for simple posting to the social movie news website mYoUvies.com

Soup.io

soup - replicates the functionality of the bookmarklet for the Soup.io tumblelogging service

Web 3.0 (Web Of Data, Semantic Web, etc)

Commands allowing the access or manipulation Web 3.0 content, that is RDF-based datasets such as linked data.

  • Cognition microformat/RDF/RDFa/eRDF/GRDDL parser.
    1. cognify

Microformats

WoD

Michael Hausenblas has put together a collection of WoD commands. Currently three commands are available:

  • query the semantic indexer Sindice for a term
  • lookup DBpedia for things in a certain category
  • perform a curl HEAD for a URI

Crunchbase

Benjamin Nowack has written the cb command allowing to do CrunchBase lookups for companies, products or people.

Twine

add-to-twine: Brings up the dialog for posting the current page to Twine.

Linked Data Exploration

OpenLink Web Resource Description Commands - Commands for obtaining structured descriptions of Web Resources. Uses Openlink Virtuoso's in-built RDFization Middleware ("Sponger") and Linked Data Deployment technology.

Natural Langauage SPARQL Querying

Cypher Commands - Commands for querying Wikipedia with natural language via Cypher. Cypher is a program that translates plain language phrases into RDF triples and SPARQL queries. Use the dbpedia.org SPARQL Endpoint.

Calculators

Clocks

see also swies's commands, below

Random tools

Other Web Applications

Amazon

Wish List

WishAmazon - Allows adding any product page on the web to your Amazon Wish List. Similar functionality to the Amazon Universal Wish List bookmarklet.

GTD

gtd-php

gtdphp - gtdin adds an inbox item, and gtdref creates a reference to the current page, as a child of a specific project

Remember The Milk

rtm - Creates a new task in Remember The Milk

TheSixtyOne.com

pause-TSO pause and resume music playback.

World of Warcraft

instapaper.com bookmarklet

later: Works like the instapaper.com "Read Later" browser bookmarklet. Still pretty rough.

later: an alternate implementation that works fine once you put your bookmarklet hash key in

Command collections

MD & TWITTMD: update your status in MexicoDiario.com or in both MexicoDiario.com and Twitter.com at once.

liketribe: chat with an intelligent assistant bot to get recommendations, directions, weather, connect with friends, or just ramble on aimlessly.

Tonight: searches for venues, restaurants and events in your city, near a specific location.

news command: simple news command.

rakudave's commands: firefox add-ons, ubuntu brainstorm, just-ping, rhyme

Everystockphoto.com: Search for images at everystockphoto.com

Shopping.com: Search for products and compare prices at Shopping.com

Ubiquity Commands by Mika: Random commands including Everystockphoto.com and Shopping.com referenced above.

issi_noho's (and others) commands: torrentz.com and more soon. Submit your command here.

CyberPrime's Commands: SearchMe.Com, demonoid, about:commands and much more to come

enobrev's commands: php and html (with auto-completion)

swies's commands: dog, clock, msdn

Abi's commands

Dietrich's commands

Gilbert's commands: date, time-12, time-24

Brandon's Commands: FriendFeed

Fuzzhead's Commands: What's My IP?

Improved IP address retrieval Should work for ipv6 too.

Ben's tweet command: post to twitter (with URL shortener)

Whatthechuck's commands: validate (W3C markup validator), vimeo

Nickworks's commands: Seeqpod, PHP.net

aufrank's commands: gfl, urej

calhoun_ftw's commands: Embiggen TinyURL replacer adaption, newegg, pirate bay, many more, releasing new always.

mzzt.net commands: remove/replace selection, detach tab to new window, open chromeless window

FreakCERS's commands: latex

pihl's commands: <blink>, jaen, fix-all-problems, last.fm

Yaz's Commands: rot13

hoffstein's commands: stock-quote, stock-chart

Bayard's commands: WoWhead, WoW Armoury, BBCode

Grant's commands: Facebook, Lorem Ipsum generator, MD5/Sha1 hashes, Penis flood, What.cd artist/torrent search, UPS/USPS/FedEx tracking

Setsuna666's commands: Amazon Canada

Onur Yalazı's commands: kissalt, bugmenot

vunite's commands: goto - quickly launch new pages using url or keyword.

Timofei Shatrov's commands: clhs, myip, urban-dictionary-search, sharebee-download

Jim's commands: add-to-reader

phoque.de: Add marked text to your blog

srobbin.com: whatismyip

Mini-Geek's commands: homestar-runner-wikipedia, starcraft-wikipedia, tniv-bible, webster-dictionary, webster-thesaurus, open-url, and ign

Geero's commands: Last.fm track search, Bible Gateway ESV URL builder

amazon-search-all: Search all items on Amazon.com

Mike's commands: mail (uses mailto: urls)

bpeers.com: ticker (preview or paste a stock quote and its change); bling (currency conversion in google syntax)

[5]: bit.ly, Instapaper, Soup.io, Google Reader subscribe, Twitter Search, Yep, zap CSS

kollektive: links - converts non-marked up text/html which contains urls and email addresses into proper anchor tags. Works within html pages, and in rich text editing fields (eg. rich text editing in GMAIL)

Xatan's ubiquity commands: google scholar, xunlei(迅雷), baidu(百度), douban(豆瓣), verycd, google news, dict.cn(海词), mininova, dictionary.hm (detailed english explanation)

TV Globo Video Search: searches for TV Globo and GloboSat videos (Brazil).

sr-map: Searches for street names and shows them on a map. Works for couple of cities in Serbia.

Skyhopper88's Commands Several Search Commands, edit of Gmail script below for .1.1

Alex's fanfou command: post to fanfou (飯否)

Samps's command collection: eBay-Au, Ubuntu-WiKi, Skweezer

Evilavatar: Search Evilavatar for new posts containing your search term

Pre 0.1 Style Commands (Now Broken)

  1. Quote text for BB-style forums. Quotebb.js
  2. Quotes HTML entities in your selection. quotehtml.js
  3. Opens Gmail in a new tab, as well as showing you the last couple of new messages in the preivew. Gmail.s
  4. Let's you Twitter from anywhere. This command has been moved into Ubiquity core. Twitter.js]
  5. Another micro-blogging service like Twitter/Pounce/etc., but open source Essentially identical code to Twitter+Ubiquity above, except for renaming of constants and web addresses identica(2).js
  6. DiggThis.js
  7. Converts your selection to lower case. tolower.js