This package has been deprecated

    Author message:

    Jetpack was replaced by WebExtensions

    preferences-utils

    0.0.1 • Public • Published

    Preferences Utils

    Opens the preferences of a Firefox extension. Can serve as drop-in replacement for sdk/preferences/utils.

    Usage

    Installation

    Install this module in your extension directory using npm i --save preferences-utils.

    Open Preferences

    The module exposes one method: open(addon) if addon is omitted, the preferences for the extension are opened. addon is an object and should have an id property, specifying the add-on's ID.

    Example

    const { open } = require("preferences-utils");
     
    // Open the preferences of this extension.
    open();

    Install

    npm i preferences-utils

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    MPL-2,0

    Last publish

    Collaborators

    • freaktechnik