diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/mozilla/add-ons/webextensions/prerequisites | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/mozilla/add-ons/webextensions/prerequisites')
-rw-r--r-- | files/zh-cn/mozilla/add-ons/webextensions/prerequisites/index.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/prerequisites/index.html b/files/zh-cn/mozilla/add-ons/webextensions/prerequisites/index.html new file mode 100644 index 0000000000..75abcfb904 --- /dev/null +++ b/files/zh-cn/mozilla/add-ons/webextensions/prerequisites/index.html @@ -0,0 +1,21 @@ +--- +title: 前提条件 +slug: Mozilla/Add-ons/WebExtensions/Prerequisites +tags: + - firefox signature config + - firefox webextension config + - xpi signatures config +translation_of: Mozilla/Add-ons/WebExtensions/Prerequisites +--- +<p>要使用 WebExtension API 进行开发,你需要进行一些最基本的设置。</p> + +<ul> + <li>下载、安装和启动 <a href="https://www.mozilla.org/en-US/firefox/developer/">Firefox Developer Edition</a> 或者 <a class="external text" href="https://nightly.mozilla.org/" rel="nofollow">Firefox Nightly</a>。如果想要使用最近的更新,请使用 Nightly 版本。</li> + <li>调整 Firefox 是否允许你安装未签名附加组件的首选项。需注意,该首选项仅在 Firefox Developer Edition 和 Firefox Nightly 中可用。 + <ul> + <li>在 Firefox 的地址栏中输入 <code>about:config</code></li> + <li>在搜索框中输入 <code>xpinstall.signatures.required</code></li> + <li>双击该首选项,或者右击并选择“切换”,将其设置为 <code>false</code>。</li> + </ul> + </li> +</ul> |