aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/external/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/window/external/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/window/external/index.html')
-rw-r--r--files/zh-cn/web/api/window/external/index.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/external/index.html b/files/zh-cn/web/api/window/external/index.html
new file mode 100644
index 0000000000..0453fa1fb0
--- /dev/null
+++ b/files/zh-cn/web/api/window/external/index.html
@@ -0,0 +1,55 @@
+---
+title: Window.external
+slug: Web/API/Window/external
+tags:
+ - API
+ - Deprecated
+ - Window
+ - external
+translation_of: Web/API/Window/external
+---
+<div>{{APIRef}} {{deprecated_header}}</div>
+
+<p>{{domxref("Window")}} API 的 <code>external</code> 属性返回一个 <code>External</code> 接口的实例,这个接口本来用于包含一些用来向浏览器添加外部搜索提供者(external search providers)的函数,但是,现在这个属性已被废弃,其中的函数现在都是空函数,无任何功能,仅为了符合规范而存在。</p>
+
+<h2 id="方法">方法</h2>
+
+<p><code>External</code> 对象有以下方法:</p>
+
+<table class="fullwidth-table">
+ <tbody>
+ <tr>
+ <th>方法</th>
+ <th>描述</th>
+ </tr>
+ <tr>
+ <td><code>AddSearchProvider(<var>descriptionURL</var>)</code></td>
+ <td>空函数,无任何作用。参见 <a href="/en-US/docs/Web/OpenSearch#Autodiscovery_of_search_plugins">Autodiscovery of search plugins</a>。</td>
+ </tr>
+ <tr>
+ <td><code>IsSearchProviderInstalled()</code></td>
+ <td>空函数,无任何作用。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#external', 'External')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+
+
+<p>{{Compat("api.Window.external")}}</p>