As a web developer, you’ve probably noticed that certain APIs only work if an end-user clicks or taps on an HTML element. For example, if you try to run the following code in Safari’s Web Inspector, it will result in an error: await navigator.share({ text: "hi" }); NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied