blob: a99d8438e8348b8f5d70c54691695214e1872a7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
---
title: 作者
slug: Mozilla/Add-ons/WebExtensions/manifest.json/author
translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/author
---
<div>
<div>{{AddonSidebar}}</div>
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row" style="width: 30%;">型別</th>
<td><code>String</code></td>
</tr>
<tr>
<th scope="row">強制</th>
<td>No</td>
</tr>
<tr>
<th scope="row">範例</th>
<td>
<pre class="brush: json no-line-numbers language-json">
<code class="language-json"><span class="key token">"author":</span> <span class="string token">"cool puppy"</span></code></pre>
</td>
</tr>
</tbody>
</table>
<p>套件作者,用來顯示在瀏覽器的用戶介面中。如果有提供 <a href="https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/developer">developer</a> 鍵而且裡面包含 "name" 屬性,那會覆蓋author鍵。不能指定多個作者。</p>
<p>這是一個<a href="https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Internationalization#Internationalizing_manifest.json">可侷限的屬性</a>。</p>
</div>
<p> </p>
<h2 id="範例">範例</h2>
<pre class="brush: json no-line-numbers language-json"><code class="language-json"><span class="key token">"author":</span> <span class="string token">"cool puppy"</span></code></pre>
<h2 id="瀏覽器兼容">瀏覽器兼容</h2>
<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
<p>{{Compat("webextensions.manifest.author")}}</p>
|