Articles tagged: Add-on SDK
Found 70 documents
- Mozilla/Add-ons/SDK Using the Add-on SDK, you can create Firefox add-ons. You can use various standard Web ...
- Mozilla/Add-ons/SDK/Guides This page lists more theoretical in-depth articles about the SDK.
- Mozilla/Add-ons/SDK/Guides/Content_Scripts Many add-ons need to access and modify the content of web pages. But the main add-on code ...
- Mozilla/Add-ons/SDK/Guides/Content_Scripts/Cross_Domain_Content_Scripts By default, content scripts don't have any cross-domain privileges. In particular, they can't:
- Mozilla/Add-ons/SDK/Guides/Content_Scripts/Interacting_with_page_scripts By default, content scripts loaded by add-ons and scripts loaded by web pages are insulated from ...
- Mozilla/Add-ons/SDK/Guides/Content_Scripts/using_postMessage As an alternative to port, content modules support the built-in message event. In most cases ...
- Mozilla/Add-ons/SDK/Guides/Contributor_s_Guide/Classes_and_Inheritance A class is a blueprint from which individual objects are created. These individual objects are ...
- Mozilla/Add-ons/SDK/Guides/Contributor_s_Guide/Content_Processes A content process was supposed to run all the code associated with a single tab. Conversely, an ...
- Mozilla/Add-ons/SDK/Guides/Contributor_s_Guide/Getting_Started Learn how to contribute to the Add-on SDK.
- Mozilla/Add-ons/SDK/Guides/Firefox_Compatibility
- Mozilla/Add-ons/SDK/Guides/Module_structure_of_the_SDK CommonJS is the underlying infrastructure for both the SDK and the add-ons you build using the ...
- Mozilla/Add-ons/SDK/Guides/Porting_the_Library_Detector This example walks through the process of porting a XUL-based add-on to the SDK. It's a very ...
- Mozilla/Add-ons/SDK/Guides/Testing_the_Add-on_SDK With a checkout of the mozilla/addon-sdk repository (or a checkout of the m-c repo and cd into ...
- Mozilla/Add-ons/SDK/High-Level_APIs Modules listed on this page implement high-level APIs for building add-ons: creating user ...
- Mozilla/Add-ons/SDK/High-Level_APIs/addon-page Create a page that does not contain navigational elements.
- Mozilla/Add-ons/SDK/High-Level_APIs/base64 Data encoding and decoding using Base64 algorithms.
- Mozilla/Add-ons/SDK/High-Level_APIs/clipboard Interact with the system clipboard, setting and getting its contents.
- Mozilla/Add-ons/SDK/High-Level_APIs/context-menu Adds items, submenus, and menu separators to the page's context menu.
- Mozilla/Add-ons/SDK/High-Level_APIs/hotkeys Assign hotkey combinations to functions in your add-on.
- Mozilla/Add-ons/SDK/High-Level_APIs/indexed-db Exposes the IndexedDB API to add-ons.
- Mozilla/Add-ons/SDK/High-Level_APIs/l10n Localize strings appearing in the add-on's JavaScript code.
- Mozilla/Add-ons/SDK/High-Level_APIs/notifications Display transient, toaster -style desktop messages to the user.
- Mozilla/Add-ons/SDK/High-Level_APIs/page-mod Run scripts in the context of web pages whose URL matches a given pattern.
- Mozilla/Add-ons/SDK/High-Level_APIs/page-worker Create a permanent, invisible page and access its DOM.
- Mozilla/Add-ons/SDK/High-Level_APIs/panel Creates transient dialogs to implement part of an add-on's user interface.
- Mozilla/Add-ons/SDK/High-Level_APIs/passwords Interact with Firefox's Password Manager to add, retrieve and remove stored credentials.
- Mozilla/Add-ons/SDK/High-Level_APIs/private-browsing Check whether a given object is private, so an add-on can respect private browsing
- Mozilla/Add-ons/SDK/High-Level_APIs/querystring Utility functions for working with query strings.
- Mozilla/Add-ons/SDK/High-Level_APIs/selection Get and set text and HTML selections in the current web page.
- Mozilla/Add-ons/SDK/High-Level_APIs/self Access data that is bundled with the add-on, and add-on metadata.
- Mozilla/Add-ons/SDK/High-Level_APIs/simple-prefs Store preferences across application restarts.
- Mozilla/Add-ons/SDK/High-Level_APIs/simple-storage Lets an add-on store data so that it's retained across Firefox restarts.
- Mozilla/Add-ons/SDK/High-Level_APIs/system Query the add-on's environment and access arguments passed to it.
- Mozilla/Add-ons/SDK/High-Level_APIs/tabs Open, manipulate, and access tabs, and receive tab events.
- Mozilla/Add-ons/SDK/High-Level_APIs/timers Set one-off and periodic timers.
- Mozilla/Add-ons/SDK/High-Level_APIs/ui Provides access to button, toolbar, and sidebar UI objects.
- Mozilla/Add-ons/SDK/High-Level_APIs/url Construct, validate, and parse URLs.
- Mozilla/Add-ons/SDK/High-Level_APIs/widget Create a simple user interface for an add-on in Firefox's add-on bar.
- Mozilla/Add-ons/SDK/High-Level_APIs/windows Enumerate and examine open browser windows, open new windows, and listen for window events.
- Mozilla/Add-ons/SDK/Low-Level_APIs/loader_cuddlefish The SDK's module loader.
- Mozilla/Add-ons/SDK/Low-Level_APIs/preferences_event-target Listen to changes to the Preferences system in Firefox.
- Mozilla/Add-ons/SDK/Low-Level_APIs/preferences_service Access the Preferences system in Firefox.
- Mozilla/Add-ons/SDK/Low-Level_APIs/test_assert Implements the assert interface defined in the CommonJS Unit Testing specification version 1.1.
- Mozilla/Add-ons/SDK/Release_notes GitHub commits made between Firefox 34 and Firefox 35. This will not include any uplifts made ...
- Mozilla/Add-ons/SDK/Tools Articles listed here provide a reference for the SDK's tools:
- Mozilla/Add-ons/SDK/Tools/cfx Enables you to test, run, and package add-ons. cfx is is no longer supported as of Firefox 44 ...
- Mozilla/Add-ons/SDK/Tools/console Enables your add-on to log error, warning or informational messages.
- Mozilla/Add-ons/SDK/Tools/jpm jpm is a command-line tool that enables you to test, run, and package add-ons.
- Mozilla/Add-ons/SDK/Tutorials This page lists practical hands-on articles about how to accomplish specific tasks using the SDK.
- Mozilla/Add-ons/SDK/Tutorials/Adding_a_Button_to_the_Toolbar To add a button to the toolbar, use the action button or toggle button modules.
- Mozilla/Add-ons/SDK/Tutorials/Add_a_Context_Menu_Item To add items and submenus to the Firefox context menu, use the context-menu module.
- Mozilla/Add-ons/SDK/Tutorials/Add_a_Menu_Item_to_Firefox The SDK doesn't provide a built-in API to add new menu items to Firefox. But it's extensible by ...
- Mozilla/Add-ons/SDK/Tutorials/Annotator In this tutorial we'll build an add-on that uses many of the SDK's high-level APIs.
- Mozilla/Add-ons/SDK/Tutorials/Annotator/Creating_annotations We'll use two objects to create annotations: a page-mod to find page elements that the user can ...
- Mozilla/Add-ons/SDK/Tutorials/Annotator/Displaying_annotations In this chapter we'll use a page-mod to locate elements of web pages that have annotations ...
- Mozilla/Add-ons/SDK/Tutorials/Annotator/Implementing_the_widget We want the widget to do two things:
- Mozilla/Add-ons/SDK/Tutorials/Annotator/Overview The annotator uses content scripts to build user interfaces, get user input, and examine the DOM ...
- Mozilla/Add-ons/SDK/Tutorials/Annotator/Storing_annotations Now we are able to create annotations, let's store them using the simple-storage module. In this ...
- Mozilla/Add-ons/SDK/Tutorials/Creating_reusable_modules With the SDK you don't have to keep all your add-on in a single "index.js" file. You can split ...
- Mozilla/Add-ons/SDK/Tutorials/Display_a_Popup To display a popup dialog, use the panel module. A panel's content is defined using HTML. You ...
- Mozilla/Add-ons/SDK/Tutorials/Getting_Started_(jpm) In this tutorial we've built and packaged an add-on using three commands:
- Mozilla/Add-ons/SDK/Tutorials/l10n The SDK supports localization of strings appearing in:
- Mozilla/Add-ons/SDK/Tutorials/Listen_for_Page_Load You can get notifications about new pages loading using the tabs module. The following add-on ...
- Mozilla/Add-ons/SDK/Tutorials/List_Open_Tabs To list the open tabs, you can iterate over the tabs object itself.
- Mozilla/Add-ons/SDK/Tutorials/Logging The DOM console object is useful for debugging JavaScript. Because DOM objects aren't available ...
- Mozilla/Add-ons/SDK/Tutorials/Mobile_development Firefox for Android implements its UI using native Android widgets instead of XUL. With the ...
- Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab To modify the page hosted by a particular tab, load one or more content scripts into it using ...
- Mozilla/Add-ons/SDK/Tutorials/Modifying_Web_Pages_Based_on_URL To modify any pages that match a particular pattern (for example, "https://example.org/") as they ...
- Mozilla/Add-ons/SDK/Tutorials/Open_a_Web_Page To open a new web page, you can use the tabs module:
- Mozilla/Add-ons/SDK/Tutorials/Unit_testing The SDK provides a framework to help create and run unit tests for your code. To demonstrate how ...