Mozilla Ubiquity 的 10 种用法

Ubiquity 由 Mozilla Labs 出品,以 Add-ons 形式应用于 Firefox 网络浏览器。跟 Linux 中的控制台/终端相似,Ubiquity 为 Firefox 提供一个命令行输入界面,从而实现与 Web 的交互操作。

Ubiquity

在安装 Ubiquity 后,需要重新启动 Firefox。此时,会自动打开 Ubiquity 的参数设置页面。从中,既可以重新设置 Ubiquity 的呼出热键,也可以查看有关 Ubiquity 的介绍和文档。

使用 Ubiquity 可以在 Firefox 中执行多种操作,举例如下。

1.搜索

  1. 按热键呼出 Ubiquity 执行界面。
  2. 输入 google 关键字,如 google linuxtoy。
  3. 敲回车键在新的标签页打开搜索结果。
  4. 除了执行 Google 搜索外,还可执行 Wikipedia、Flickr、Yahoo 等搜索。只需将上面的 google 稍作替换即可。

2.充当计算器

  1. 输入 calculate 表达式,如 calculate 1234567/654321。
  2. 将立即显示计算结果,也可以选择结果复制备用。

3.翻译

  1. 输入 translate 要翻译的文本 to 目标语言,如 translate toy to chinese。
  2. 这将 toy 翻译成汉语。

4.发送 E-mail

  1. 输入 email 消息 to 联系人,如 email hello to xxd。
  2. 会启动 Gmail,将当前页面的网址发给名为 xxd 的朋友。

5.更新 Twitter

  1. 输入 twitter 状态消息,如 twitter Ubiquity 很好玩啊。
  2. 首次会提示输入 Twitter 帐号和密码,然后即更新。

6.了解天气

  1. 输入 weather 城市,如 weather chongqing。
  2. 回车。

7.缩短长网址

  1. 先复制长网址备用。
  2. 热键呼出 Ubiquity 界面。
  3. 输入 tinyurl 回车即可。

8.操作标签

  1. 输入 tab 打开的标签名字,如 tab linuxtoy。
  2. 按回车键将转到该标签。
  3. 输入 close-tab 标签名,将执行关闭标签操作。

9.缩放 Firefox 窗口

  1. 输入 zoom 缩放比例,如 zoom 200。
  2. 回车后将按 200% 进行缩放。

10.查看源代码

  1. 输入 view-source。
  2. 回车后即可查看当前网页的源代码。

后话

Ubiquity 的用法当然不只以上 10 种,建议你看看:chrome://ubiquity/content/cmdlist.html。在我看来,使用 Ubiquity 的感觉跟 GNOME Do 差不多,只需输入很少的字便可获得相关建议,多个项目可以通过上下方向键选择。另外,随时可以通过键入 help 指令获得帮助,非常方便。

参考

http://labs.mozilla.com/2008/08/introducing-ubiquity/

Read More:

15 Comments

  1. 1 zhuqin Commented @ 2008-08-31 10:00Reply to this comment

    直接用鼠标选中某区域,然后输入 命令+this 是比较常用而且更为方便的用法。比如 highlight this,即会高亮选区。 另外,选中后再打开ubiquity就不必再次输入了。

  2. 2 waakee.com Trackbacked @ 2008-08-31 10:22Reply to this comment

    Mozilla Ubiquity 的 10 种用法 — LinuxTOY...

    Ubiquity 由 Mozilla Labs 出品,以 Add-ons 形式应用于 Firefox 网络浏览器。跟 Linux 中的控制台/终端相似,Ubiquity 为 Firefox 提供一个命令行输入界面,从而实现与 Web 的交互操作。

    在安装 Ubiquity 后,...

  3. 3 Alex Commented @ 2008-08-31 12:28Reply to this comment

    为什么不直接集成在地址栏里?

  4. 4 hmy Commented @ 2008-08-31 12:40Reply to this comment

    好像有时候会出错,然后输入命令就不行了.

  5. 5 eagle Commented @ 2008-08-31 13:28Reply to this comment

    有提示……爽

  6. 6 eagle Commented @ 2008-08-31 13:36Reply to this comment

    天气怎改温度

  7. 7 yu Commented @ 2008-08-31 13:47Reply to this comment

    跟Fast Dial有冲突,两者只能启用一个。

  8. 8 puosong Commented @ 2008-08-31 15:22Reply to this comment

    修改温度制要看 js 文件,在 profiles 文件夹里面

    在 builtincmd xxx .js 里面,找 weather,把里面的 tempf 改成 tempc 就行了

  9. 9 Mozilla Ubiquity的10 种用法 | Web2.0 News Pingbacked @ 2008-08-31 19:49Reply to this comment

    [...] Mozilla Ubiquity 的 10 种用法 — LinuxTOY. Tags: addon, firefox, Ubiquity, webapp [...]

  10. 10 ahui Commented @ 2008-08-31 20:38Reply to this comment

    profiles文件夹的位置在哪里?

  11. 11 eagle Commented @ 2008-09-01 9:43Reply to this comment

    @ahui firefox扩展文件夹下Ubiquity×××/chrom/content/builtincmds.js文件,1206行

  12. 12 Firefox越来越有潜力了 - Mac.6.cn Pingbacked @ 2008-09-01 13:23Reply to this comment

    [...] by 骨头鱼 ... 5 小时 32 分钟前 ... 94 次点击 大家注意到Mozilla Ubiquity了吗? linuxtoy有介绍 平台级的浏览器?哈哈=.= 借宝地征求一些建议 创建新主题 ... 2 [...]

  13. 13 longlong Commented @ 2008-09-01 15:00Reply to this comment

    I think you should look at this: http://www.vimeo.com/1561578?pg=embed&sec=1561578

  14. 14 软件指南针 Commented @ 2008-09-20 15:33Reply to this comment

    不错学习了。谢谢

  15. 15 carlos Commented @ 2008-10-05 19:12Reply to this comment

    又多学了几种用法,不错!