Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 964225 of Preferences

  • Slug della versione: Mozilla/Preferences
  • Titolo della versione: Preferences
  • ID versione: 964225
  • Data di creazione
  • Autore: ethertank
  • Versione corrente?
  • Commento CleanUp, -TOC.

Contenuto della versione

The preference system makes it possible to store data for Mozilla applications using a key/value pairing system. These articles provide information about how to use the preference system.

Documentation

Preferences system
An introduction to using the preference system in Mozilla.
XUL School: Handling preferences
The XUL School tutorial chapter on preferences.
Mozilla preference reference
A reference guide to all Mozilla preferences; currently a work in progress.
A brief guide to Mozilla preferences
An introductory guide to where preferences are stored and other useful information about the core preference system.
Using preferences from application code {{gecko_minversion_inline("6.0")}}
Firefox 6 introduced static functions for accessing preferences efficiently from within application code. This API is not available for add-ons, but if you're working on a Gecko application, this API is the preferred way to access preferences.
Mozilla networking preferences
A guide to key networking-related preferences.
Mozilla preferences for uber-geeks
A guide to preferences that only truly elite geeks should play with.

View all pages tagged with "Preferences"...

Examples

Code snippets
Preference-related code snippets.
Adding preferences to an extension
How to add preferences to an existing extension.

Sorgente della versione

<p>The preference system makes it possible to store data for Mozilla applications using a key/value pairing system. These articles provide information about how to use the preference system.</p>
<table class="topicpage-table">
  <tbody>
    <tr>
      <td>
        <h2 id="Documentation" name="Documentation" class="Documentation">Documentation</h2>
        <dl>
          <dt><a href="/en-US/docs/Preferences/Preferences_system" title="Preferences/Preferences system">Preferences system</a></dt>
          <dd>An introduction to using the preference system in Mozilla.</dd>
          <dt><a href="/en-US/docs/XUL_School/Handling_Preferences" title="XUL School/Handling Preferences">XUL School: Handling preferences</a></dt>
          <dd>The XUL School tutorial chapter on preferences.</dd>
          <dt><a href="/en-US/docs/Preferences/Preference_reference" title="Preferences/Preference_reference">Mozilla preference reference</a></dt>
          <dd>A reference guide to all Mozilla preferences; currently a work in progress.</dd>
          <dt><a href="/en-US/docs/Preferences/A_brief_guide_to_Mozilla_preferences" title="Preferences/A brief guide to Mozilla preferences">A brief guide to Mozilla preferences</a></dt>
          <dd>An introductory guide to where preferences are stored and other useful information about the core preference system.</dd>
          <dt><a href="/en-US/docs/Preferences/Using_preferences_from_application_code" title="Preferences/Using preferences from application code">Using preferences from application code</a> {{gecko_minversion_inline("6.0")}}</dt>
          <dd>Firefox 6 introduced static functions for accessing preferences efficiently from within application code. This API is not available for add-ons, but if you're working on a Gecko application, this API is the preferred way to access preferences.</dd>
          <dt><a href="/en-US/docs/Preferences/Mozilla_networking_preferences" title="Preferences/Mozilla networking preferences">Mozilla networking preferences</a></dt>
          <dd>A guide to key networking-related preferences.</dd>
          <dt><a href="/en-US/docs/Preferences/Mozilla_preferences_for_uber-geeks" title="Preferences/Mozilla preferences for uber-geeks">Mozilla preferences for uber-geeks</a></dt>
          <dd>A guide to preferences that only truly elite geeks should play with.</dd>
        </dl>
        <p><span class="alllinks"><a href="/en-US/docs/tag/Preferences" title="tag/Preferences">View all pages tagged with "Preferences"...</a></span></p>
      </td>
      <td>
        <h2 id="Examples" name="Examples" class="Community">Examples</h2>
        <dl>
          <dt><a href="/en-US/docs/Code_snippets/Preferences" title="Code snippets/Preferences">Code snippets</a></dt>
          <dd>Preference-related code snippets.</dd>
          <dt><a href="/en-US/docs/Adding_preferences_to_an_extension" title="Adding preferences to an extension">Adding preferences to an extension</a></dt>
          <dd>How to add preferences to an existing extension.</dd>
        </dl>
        <h2 id="Related_Topics" name="Related_Topics" class="Related_Topics">Related Topics</h2>
        <ul>
          <li><a href="/en-US/docs/XUL" title="XUL">XUL</a>, <a href="/en-US/docs/JavaScript" title="JavaScript">JavaScript</a>, <a href="/en-US/docs/XPCOM" title="XPCOM">XPCOM</a>, <a href="/en-US/docs/Extensions" title="Extensions">Extensions</a>, <a href="/en-US/docs/Developer_Guide" title="Developing_Mozilla">Developing Mozilla</a></li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>
Ripristina questa versione