in reply to OT: FireFox extensions

I think XUL::Node has an interesting approach:

XUL-Node is a rich user interface framework for server-based Perl applications. It includes a server, a UI framework, and a Javascript XUL client for the Firefox web browser. Perl applications run inside a POE server, and are displayed in a remote web browser.

HTH, Valerio