Pete LePage

Thoughts on web development, life, and photography.

@tjholowaychuk @iamale The delay is meant to prevent sites from prompting the user on load. You could add a disabled button, then enable it after the beforeinstallprompt event is fired. Remember, calling prompt requires a user gesture.