Document:applets 属性

已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。

Documentapplets 属性返回一个空的 HTMLCollection。保留该属性只是出于兼容性考虑;在旧版本的浏览器中,它会返回文档中的小应用程序列表。

备注: 所有浏览器都取消了对 <applet> 元素的支持。因此调用 document.applets 总是返回空的集合。

空的 HTMLCollection

规范

Specification
HTML
# dom-document-applets

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
applets
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
Deprecated. Not for use in new websites.
Has more compatibility info.