XBL javascript completions (Mozilla JavaScript development)

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.

Recent Posts

Tech Debt Best Practices: Minimizing Opportunity Cost & Security Risk

Tech debt is an unavoidable consequence of modern application development, leading to security and performance concerns as older open-source codebases become more vulnerable and outdated. Unfortunately, the opportunity cost of an upgrade often means organizations are left to manage growing risk the best they can. But it doesn’t have to be this way.

Read More
Scroll to Top