Trình kiểm tra quyền
Xem lại trạng thái quyền của máy ảnh, micrô, vị trí, thông báo và khay nhớ tạm nơi trình duyệt hiển thị chúng.
Giao diện thử nghiệm
Trình duyệt của bạn có thể yêu cầu quyền sau khi bạn nhấn Bắt đầu.Cách sử dụng công cụ này
- Click Read permission states.
- Review granted, denied, prompt, or unsupported values.
- Use the optional live checks only if you want to trigger a browser prompt.
- Change blocked permissions in the browser site settings and reload.
Quảng cáo
Giải thích kỹ thuật
The Permissions API exposes some permission states by name. Support varies by browser and permission. Camera and microphone states may be hidden until the page has requested them at least once.
A prompt state means the browser has not decided yet. The page cannot grant permission on your behalf and cannot bypass a blocked state.
Khắc phục sự cố
States show unsupported
The browser may not implement Permissions.query for that name.
Camera still shows prompt after granting
Some browsers do not expose media permission state until a stream is opened.
A permission is blocked
Use the browser site settings to reset it.
Location is not available
Check system location services and the secure-context requirement.
Công cụ liên quan
Câu hỏi thường gặp
Quảng cáo