Ubiquity Tutorial: How to turn a page upside-down
In Firefox 3.1 it has become possible to do even more amazing things with CSS. Anything can be rotated, skewed, and translated with just a single line of CSS code. With Ubiquity we can use that power for good, evil, and other. This tutorial demonstrates how, with five-ish lines of code, you can create functionality — both commands and extensions — that are “other”. Perhaps tending a little bit towards evil. Watch the video to find out what unpractical joke we’ve got cooking.
What most folks don’t yet know about Ubiquity is that it can be used for a lot more than just writing user-initiated commands. For example, any function that starts with
pageLoad_ will automatically be run at the appropriate time.
For example, here’s the Ubiquity code for making the browser a little bit better for all of you bats out there:
var doc = CmdUtils.getDocument();