If you are working with Firefox extensions (or Mozilla derivate) and ever used a XBL binding, you soon find there are certain JavaScript API calls you can use to make working with XBL easier, such as

  • document.getAnonymousNodes()
  • document.getAnonymousElementByAtttibute()

Unfortunately, Komodo does not provide completions for these methods by default (as they are browser specific calls), but you can easily add these XBL methods through a Komodo API catalog.

I have made a simple catalog for XBL 1.0, covering the XBL 1.0 methods which you can download and then use Komodo’s preferences “Code Intelligence->API Catalogs” to install the API catalog and get completions for these methods.