Terjemahan ini belum lengkap. Mohon bantu menerjemahkan artikel ini dari Bahasa Inggris.

There are a couple of differences between desktop Firefox and Firefox for Android that are particularly relevant to add-on developers:

  • there is no visible XUL in the user interface, so you can't use XUL overlays to create your add-on's UI
  • the gBrowser object does not exist, so you can't use tabbrowser to interact with browser tabs

Instead, Firefox for Android provides its own APIs:

  • NativeWindow enables you to manipulate parts of the native Android UI
  • BrowserApp enables you to interact with browser tabs
  • Prompt.jsm allows you to easily show native prompts, dialogs, menus, and lists
  • Notifications.jsm allows you to handle system notifcations
  • Home.jsm allows you to customize the home page
  • HomeProvider.jsm allows you to store data to show on the home page
  • Accounts.jsm allows you to start the Firefox Account set-up process

In these pages we've documented the main functions and properties exposed by these objects. To see all the details, refer to the code at browser.js.

Tag Dokumen dan Kontributor

Kontributor untuk laman ini: mdnwebdocs-bot, nalexander
Terakhir diperbarui oleh: mdnwebdocs-bot,