mozilla
Risultati di ricerca

    Tutorials

    Questa traduzione è incompleta. Collabora alla traduzione di questo articolo dall’originale in lingua inglese.

    This page lists practical hands-on articles about how to accomplish specific tasks using the SDK.


    Iniziare

    Installazione
    Scaricare, installare, e iniziare ad usare l'SDK su Windows, OS X e Linux.
    Risoluzione problemi
    Alcune indicazioni per risolvere i problemi più comuni e ottenere più aiuto.
    Getting started
    Scenario di creazione di un semplice add-on con l'SDK.

    Creare l'interfaccia grafica

    Aggiungere un bottone alla toolbar
    Attach a button to the Firefox Add-on toolbar.
    Aggiungiere una voce al menu di Firefox
    Add items to Firefox's main menus.
    Mostra un popup
    Display a popup dialog implemented with HTML and JavaScript.
    Add a context menu item
    Add items to Firefox's context menu.

    Interagire con il browser

    Open a web page
    Open a web page in a new browser tab or window using the tabs module, and access its content.
    Listen for page load
    Use the tabs module to get notified when new web pages are loaded, and access their content.
    Get the list of open tabs
    Use the tabs module to iterate through the currently open tabs, and access their content.

    Modificare le pagine web

    Modify web pages based on URL
    Create filters for web pages based on their URL: whenever a web page whose URL matches the filter is loaded, execute a specified script in it.
    Modify the active web page
    Dynamically load a script into the currently active web page.

    Sviluppo tecniche

    Logging
    Log messages to the console for diagnostic purposes.
    Creating reusable modules
    Structure your add-on in separate modules to make it easier to develop, debug, and maintain. Create reusable packages containing your modules, so other add-on developers can use them too.
    Unit testing
    Writing and running unit tests using the SDK's test framework.
    Chrome authority
    Get access to the Components object, enabling your add-on to load and use any XPCOM object.
    Creating event targets
    Enable the objects you define to emit their own events.
    Listen for load and unload
    Get notifications when your add-on is loaded or unloaded by Firefox, and pass arguments into your add-on from the command line.
    Using third-party modules
    Install and use additional modules which don't ship with the SDK itself.
    Localization
    Writing localizable code.
    Mobile development
    Develop add-ons for Firefox Mobile on Android.
    Add-on Debugger
    Debug your add-on's JavaScript.

    Mettere insieme

    Annotator add-on
    A walkthrough of a relatively complex add-on.

     

    Etichette del documento e nomi di chi ha collaborato alla sua stesura

    Contributors to this page: wbamberg, HighBit
    Ultima modifica di: HighBit,