aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/add-ons/webextensions/api
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/mozilla/add-ons/webextensions/api')
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/api/clipboard/index.html4
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/api/runtime/index.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/clipboard/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/clipboard/index.html
index 1f3657f79c..6af2ad47be 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/api/clipboard/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/api/clipboard/index.html
@@ -14,11 +14,11 @@ original_slug: Mozilla/Add-ons/WebExtensions/API/剪切板
<p>这个  WebExtension API 之所以存在,主要是因为标准的 Web 剪贴板 API <a href="/zh-CN/docs/Web/API/Clipboard_API">Clipboard API</a> 不支持将图像写入剪贴板。一旦标准剪贴板 API 对非文本剪贴板内容的支持进入通用状态,则此 API 可能会被弃用。</p>
-<p>Reading from the clipboard is not supported by this API, because the clipboard can already be read using the standard web platform APIs. See <a href="https://wiki.developer.mozilla.org/en-US/Add-ons/WebExtensions/Interact_with_the_clipboard#Reading_from_the_clipboard">Interacting with the clipboard</a>.</p>
+<p>Reading from the clipboard is not supported by this API, because the clipboard can already be read using the standard web platform APIs. See <a href="/zh-CN/Add-ons/WebExtensions/Interact_with_the_clipboard#Reading_from_the_clipboard">Interacting with the clipboard</a>.</p>
<p>This API is based on Chrome's <code><a class="external external-icon" href="https://developer.chrome.com/apps/clipboard">clipboard</a></code> API, but that API is only available for Chrome apps, not extensions.</p>
-<p>To use this API you need the <code>"clipboardWrite"</code> extension <a href="https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permission</a>.</p>
+<p>To use this API you need the <code>"clipboardWrite"</code> extension <a href="/zh-CN/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permission</a>.</p>
<h2 id="函数">函数</h2>
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/index.html
index 5a1618e9e7..de847727ba 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/index.html
@@ -70,7 +70,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/runtime
<dl>
<dt>{{WebExtAPIRef("runtime.getBackgroundPage()")}}</dt>
- <dd>取得当前扩展的后台页的 <a href="https://wiki.developer.mozilla.org/zh-CN/docs/Web/API/Window">Window</a> 对象。</dd>
+ <dd>取得当前扩展的后台页的 <a href="/zh-CN/docs/Web/API/Window">Window</a> 对象。</dd>
<dt>{{WebExtAPIRef("runtime.openOptionsPage()")}}</dt>
<dd>
<p>打开你的扩展的 <a href="/zh-CN/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Options_pages">选项页面</a>。</p>