Permissions API Sample

Available in Chrome 43+

The Permissions API allows a web application to be aware of the status of a given permission, to know whether it is granted, denied or if the user will be asked whether the permission should be granted.

Remember to turn on the flag for Sensors, chrome://flags#enable-generic-sensor

Permissions

Geolocation:
Notifications:
Midi:
Midi SysEx:
Sensors:

Requests