Programming Guides

Two Types of Scripts

An introduction to the different sorts of scripts you can write, and a summary of which APIs are available to which scripts.

Working with Events

Writing event-driven code using the SDK.

Working with Content Scripts

How to write code that interacts with web content using content scripts.

The Program ID

What the program ID is and why it matters to your add-on.

Module Search

How the require() function finds the module you asked for.