canmove, Confirmed users
1,448
edits
(Added some optional properties) |
|||
| Line 124: | Line 124: | ||
</pre> | </pre> | ||
== Optional properties | == Optional properties == | ||
=== description === | === description === | ||
A short description of the add-on - intended for display in the user interface. This description should fit on one short line of text. | A short description of the add-on - intended for display in the user interface. This description should fit on one short line of text. | ||
'''Example:''' | '''Example:''' | ||
<pre><p id="description">An example for the new add-on packaging specification.</p> | <pre><p id="description">An example for the new add-on packaging specification.</p> | ||
</pre> | </pre> | ||
=== creator === | === creator === | ||
The name of the creator/principal developer - intended for display in the user interface. This is a single value.<br> | The name of the creator/principal developer - intended for display in the user interface. This is a single value.<br> | ||
'''Example:''' | '''Example:''' | ||
<pre><p id="creator">Jorge Villalobos</p></pre> | <pre><p id="creator">Jorge Villalobos</p></pre> | ||
=== developers === | === developers === | ||
The name(s) of co-developers. You may specify multiple developers. | The name(s) of co-developers. You may specify multiple developers. | ||
'''Example:'''<br> | '''Example:'''<br> | ||
<pre><ol id="developers"> | <pre><ol id="developers"> | ||
| Line 151: | Line 151: | ||
</ol> | </ol> | ||
</pre> | </pre> | ||
=== translators<br> === | === translators<br> === | ||
The name(s) of translators. You may specify multiple translators. | The name(s) of translators. You may specify multiple translators. | ||
'''Example:''' | '''Example:''' | ||
<pre><ol id="translators"> | <pre><ol id="translators"> | ||
<li>John Doe</li> | <li>John Doe</li> | ||
| Line 164: | Line 164: | ||
</ol> | </ol> | ||
</pre> | </pre> | ||
=== contributors === | === contributors === | ||
The name(s) of additional contributors. You may specify more than one contributor. | The name(s) of additional contributors. You may specify more than one contributor. | ||
'''Example:''' | '''Example:''' | ||
<pre><ol id="contributors"> | <pre><ol id="contributors"> | ||
<li>John Doe</li> | <li>John Doe</li> | ||
| Line 176: | Line 176: | ||
</ol> | </ol> | ||
</pre> | </pre> | ||
< | === homepage-url === | ||
A link to the addon's home page - intended for display in the user interface. | |||
'''Example:''' | |||
<pre><p id="homepage-url">https://wiki.mozilla.org/User:Jorge.villalobos/AddonPackaging</p></pre> | |||
=== update-url === | |||
A link to a custom Update Manifest file that specifies available updates to the addon. The format of this URL follows the same rules and have the same options as the [https://developer.mozilla.org/en/Install_Manifests#updateURL previous manifest format]. | |||
The file it links to, however, can use the previous format or a new format. See [https://wiki.mozilla.org/User:Jorge.villalobos/AddonPackaging/UpdateFile the section on the update file] for more information. | |||
'''Example:''' | |||
<pre><p id="update-url">http://www.example.com/update.php?id=%ITEM_ID%&version=%ITEM_VERSION%</p></pre> | |||
=== update-key === | |||
To ensure the security of update data that is retrieved over plain http you must use a digital signature to verify the contents of the data. In order to do so you must include the public part of the cryptographic key in an update-key property. This can be generated using the [https://developer.mozilla.org/en/McCoy McCoy tool]. Any line breaks and whitespace as part of this entry are ignored. | |||
'''Example:''' | |||
<pre><p id="update-key"> | |||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDK426erD/H3XtsjvaB5+PJqbhj | |||
Zc9EDI5OCJS8R3FIObJ9ZHJK1TXeaE7JWqt9WUmBWTEFvwS+FI9vWu8058N9CHhD | |||
NyeP6i4LuUYjTURnn7Yw/IgzyIJ2oKsYa32RuxAyteqAWqPT/J63wBixIeCxmysf | |||
awB/zH4KaPiY3vnrzQIDAQAB | |||
</p></pre> | |||
=== options-url === | |||
The chrome:// URL of the extension's preferences dialog. This is only useful to extensions. If this property is specified, when the extension is selected in the Add-ons Manager, the Options button is enabled and will open this dialog. | |||
'''Example:''' | |||
<pre><p id="options-url">chrome://packagingspec/content/options.xul</p></pre> | |||
=== about-url === | |||
The chrome:// URL of the extension's About dialog. This is only useful to extensions. If this property is specified, when the extension is selected in the Add-ons Manager, the About option is enabled and will open this dialog. | |||
'''Example:''' | |||
<pre><p id="about-url">chrome://packagingspec/content/about.xul</p></pre> | |||