High-Level APIs

Modules listed on this page implement high-level APIs for building add-ons: creating user interfaces, interacting with the web, and interacting with the browser.

Unless the documentation explicitly says otherwise, all these modules are "Stable": we'll avoid making incompatible changes to them.

addon-page
Create a page that does not contain navigational elements.
base64
Data encoding and decoding using Base64 algorithms.
clipboard
Interact with the system clipboard, setting and getting its contents.
context-menu
Adds items, submenus, and menu separators to the page's context menu.
hotkeys
Assign hotkey combinations to functions in your add-on.
indexed-db
Exposes the IndexedDB API to add-ons.
l10n
Localize strings appearing in the add-on's JavaScript code.
notifications
Display transient, toaster-style desktop messages to the user.
page-mod
Run scripts in the context of web pages whose URL matches a given pattern.
page-worker
Create a permanent, invisible page and access its DOM.
panel
Creates transient dialogs to implement part of an add-on's user interface.
passwords
Interact with Firefox's Password Manager to add, retrieve and remove stored credentials.
private-browsing
Check whether a given object is private, so an add-on can respect private browsing
querystring
Utility functions for working with query strings.
request
Make simple network requests.
selection
Get and set text and HTML selections in the current web page.
self
Access data that is bundled with the add-on, and add-on metadata.
simple-prefs
Store preferences across application restarts.
simple-storage
Lets an add-on store data so that it's retained across Firefox restarts.
system
Query the add-on's environment and access arguments passed to it.
tabs
Open, manipulate, and access tabs, and receive tab events.
timers
Set one-off and periodic timers.
ui
Provides access to button, toolbar, and sidebar UI objects.
url
Construct, validate, and parse URLs.
widget
Create a simple user interface for an add-on in Firefox's add-on bar.
windows
Enumerate and examine open browser windows, open new windows, and listen for window events.