Gmail Greasemonkey API

November 07, 2007

[We at Google] would like to provide a little help to make [Greasemonkey] scripts more robust. Instead of finding elements by XPath or DOM traversal, this API provides accessor methods for getting common screen elements. Instead of forcing you to monkey-patch (ahem) our internal functions, this API provides callbacks to call your functions when specific events occur.

Awesome.

You should follow me on Twitter here