Settings

Settings

new Settings()

Source:

addon.settings.* APIs

Available in Userscripts and Persistant Scripts

Extends

  • EventTarget

Methods

(static) get()

Source:
To Do:
  • Document

addon.settings.get()

Throws:

if the specified option ID wasn't declared inside addon.json.

Returns:

the user-specified value for that option, or the default specified in the addon manifest if the user didn't specify a value by themselves.