From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/window/external/index.html | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/zh-cn/web/api/window/external/index.html (limited to 'files/zh-cn/web/api/window/external/index.html') 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 +--- +
{{APIRef}} {{deprecated_header}}
+ +

{{domxref("Window")}} API 的 external 属性返回一个 External 接口的实例,这个接口本来用于包含一些用来向浏览器添加外部搜索提供者(external search providers)的函数,但是,现在这个属性已被废弃,其中的函数现在都是空函数,无任何功能,仅为了符合规范而存在。

+ +

方法

+ +

External 对象有以下方法:

+ + + + + + + + + + + + + + + + +
方法描述
AddSearchProvider(descriptionURL)空函数,无任何作用。参见 Autodiscovery of search plugins
IsSearchProviderInstalled()空函数,无任何作用。
+ +

规范

+ + + + + + + + + + + + +
规范状态
{{SpecName('HTML WHATWG', '#external', 'External')}}{{Spec2('HTML WHATWG')}}
+ +

浏览器兼容性

+ + + +

{{Compat("api.Window.external")}}

-- cgit v1.2.3-54-g00ecf