Permissions API
Checking compatibility...
Query and manage permission states for various browser APIs and features, providing a consistent way to check if an API is allowed, blocked, or requires prompting.
Check Permissions
Find out if your browser allows access to different features. This example shows how to check the current status of permissions for things like camera access or location tracking without triggering permission prompts.
=
=
=
=
=
=
Output
Click Run to see output...
Watch Permission Changes
Get notified when permission settings change. This example demonstrates how to detect when users modify their permission choices through browser settings or permission dialogs.
=
=
=
=
=
=
Output
Click Run to see output...