Hacker News new | ask | show | jobs
by throwanem 3684 days ago
The (currently embryonic) Permissions API [1] looks like it's aimed at precisely this use case.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Permissions...