Permissions-Policy: chỉ thị window-management

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Chỉ thị window-management của header HTTP Permissions-Policy kiểm soát việc tài liệu hiện tại có được phép sử dụng Window Management API để quản lý các cửa sổ trên nhiều màn hình hay không.

Khi chính sách này cấm việc sử dụng API:

Cú pháp

http
Permissions-Policy: window-management=<allowlist>;
<allowlist>

Danh sách các nguồn gốc được cấp quyền sử dụng tính năng. Xem Permissions-Policy > Cú pháp để biết thêm chi tiết.

Chính sách mặc định

Danh sách cho phép mặc định cho window-managementself.

Thông số kỹ thuật

Specification
Window Management
# api-permission-policy-integration

Tương thích trình duyệt

Xem thêm