If access to MIDI is requested via
navigator.requestMIDIAccess({sysex: true})
the user has to confirm the access in a modal in Chrome and Opera.
Is there a way to check if a user already has allowed access to MIDI without triggering the modal?
The reason I want to that is for usability reasons: if a user visits the one page site the first time he should not be greeted with a security modal, where 90% instantly click "block access" out of habit.
The user should read first what is all about and than trigger the requestMIDIAccess routine with a button push. He should have to do this only once.
Is there a method in the API I am missing or is there a workaround like reading the entries in chrome://settings/contentExceptions#midi-sysex ?