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 1130399 of short_name

  • Revision slug: Mozilla/Add-ons/WebExtensions/manifest.json/short_name
  • Revision title: short name
  • Revision id: 1130399
  • Created:
  • Creator: wbamberg
  • Is current revision? No
  • Comment

Revision Content

{{AddonSidebar}}
Type String
Mandatory No
Example
"short_name": "My Extension"

Short name for the extension. If given, this will be used in contexts where the name field is too long. It's recommended that the short name should not exceed 12 characters. If the short name field is not included in manifest.json, then name will be used instead and may be truncated. 

This is a localizable property.

{{WebExtCompat()}}

Example

"short_name": "My Extension"

Revision Source

<div>{{AddonSidebar}}</div>

<table class="fullwidth-table standard-table">
 <tbody>
  <tr>
   <th scope="row" style="width: 30%;">Type</th>
   <td><code>String</code></td>
  </tr>
  <tr>
   <th scope="row">Mandatory</th>
   <td>No</td>
  </tr>
  <tr>
   <th scope="row">Example</th>
   <td>
    <pre class="brush: json">
"short_name": "My Extension"</pre>
   </td>
  </tr>
 </tbody>
</table>

<p>Short name for the extension. If given, this will be used in contexts where the <a href="/en-US/Add-ons/WebExtensions/manifest.json/name">name</a> field is too long. It's recommended that the short name should not exceed 12 characters. If the short name field is not included in manifest.json, then name will be used instead and may be truncated.&nbsp;</p>

<p>This is a <a href="/en-US/Add-ons/WebExtensions/Internationalization#Internationalizing_manifest.json">localizable property</a>.</p>

<p>{{WebExtCompat()}}</p>

<h2 id="Example">Example</h2>

<pre class="brush: json">
"short_name": "My Extension"</pre>
Revert to this revision