n 2004, I worked with a game publishing client that wanted to update their underlying XML-based workflow to allow writers at science fiction and gaming conventions to write reports into their laptops—even without an Internet connection. At that time, Firefox was becoming explosively popular, and I had been digging fairly deeply into the browser's XUL interface to better understand it.
I found too that making add-ons for Firefox is not hard, but development can be tedious, especially as there is no
For larger scale applications, the benefits to create add-ons still apply, but it would be nice to create "quick and
dirty" extensions without the rigmarole of binding, zipping, and updating; especially if the add-on is only to perform a basic task in the system—the analog of a system shell script.
This is the thinking that drove the R&D team at Mozilla to create
Ubiquity. You can think of this add-on as a way to enable a command line for the browser. For example, I tend to write fairly wordy articles, and as more and more of my content creation has migrated to the web, I find it’s not always easy to tell how many words I've written in a block of text.
With Ubiquity, I can select the text and press Ctrl-Space (this is configurable) to bring up a command line "shell,"and then type in "word-count" at the prompt. This displays a reasonably accurate count of the number of words in the selection, just below the prompt line. If I press return, the command-line goes away, and the word count appears as a pop-up message in the lower-right-hand corner of the screen.
Greasemonkey, which runs scripts on documents at load time, but with the advantage that you can use Ubiquity scripts at any time, not just upon load.