Monthly Archives: March 2009

Yet another post about Ubiquity

Yeah, sorry, but it's so exciting… :-)

In my development version now I'm able to run unmodified Firefox Ubiquity commands!
Yes, original Firefox Ubiquity JS commands can be run in the Opera version.

That's great! Of course, not all of them can work. Most of the Ubiquity internal objects are mocked, but nonetheless they work. So now I'm going to rewrite the command list as they were pB]native[/B] ubiquity commands and adapt all the code to this new structure.
This is an example of a native Ubiquity command:


CmdUtils.CreateCommand({
  name: "validate",
  icon: "http://www.imageboo.com/files/uhee2ii315oxd8akq0nm.ico",
  description: "Checks the markup validity of the current Web document",
  preview: "Sends this page to the W3C validator",
  execute: function() {
    var url = "http://validator.w3.org/check?uri=" + Application.activeWindow.activeTab.document.location.href;
    Utils.openUrlInBrowser( url );
  }
})

Cool!

Ubiquity for Opera 1.0 released!

The "nightly experiment" now is something more. Actually I am very surprised to see the amount of stuff I could do with "just" user javascript. It's already beyond my initial thoughts.

So now the plan is to convert it to a widget and get the full widget power, XHR, notifications, sticky preferences, and all that. Then, to complete the Opera version, I would only need to load real Ubiquity command RSS feeds. But that's probably not going to happen anytime soon…

Download Ubiquity for Opera v1.0

The usual warning about the default ubiquity shortcut, CTRL + SPACE, which is used by default in Opera as "homepage" shortcut. You have to remove it, or modify the javascript to assign it another shortcut.

Enjoy!