已废弃
该特性已经从 Web 标准中删除,虽然一些浏览器目前仍然支持它,但也许会在未来的某个时间停止支持,请尽量不要使用该特性。
Window
API 的 external
属性返回一个 External
接口的实例,这个接口本来用于包含一些用来向浏览器添加外部搜索提供者(external search providers)的函数,但是,现在这个属性已被废弃,其中的函数现在都是空函数,无任何功能,仅为了符合规范而存在。
方法
External
对象有以下方法:
方法 | 描述 |
---|---|
AddSearchProvider(descriptionURL) |
空函数,无任何作用。参见 Autodiscovery of search plugins。 |
IsSearchProviderInstalled() |
空函数,无任何作用。 |
规范
规范 | 状态 |
---|---|
HTML Living Standard External |
Living Standard |
浏览器兼容性
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.