As a web developer, you’ve probably noticed that certain APIs only work if an end-user clicks or taps on an HTML element.