Document:featurePolicy 属性

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

Document 接口的 featurePolicy 只读属性返回 FeaturePolicy 接口,该接口提供了用于检查应用于特定文档的权限策略的简单 API。

FeaturePolicy 对象,可用于检查应用于文档的权限策略设置。

规范

No specification found

No specification data found for api.Document.featurePolicy.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

浏览器兼容性

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
featurePolicy
Experimental

Legend

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

Full support
Full support
No support
No support
Experimental. Expect behavior to change in the future.
User must explicitly enable this feature.