in src/GitHubStatusDisplay.js [159:170]
componentDidMount() {
this.update();
this.interval = setInterval(this.update.bind(this), this.props.interval);
if (
!isMobile() &&
window.Notification &&
this.state.showNotifications &&
window.Notification.permission !== "granted"
) {
window.Notification.requestPermission();
}
}