I think it's better to check if the browser support the notification.

1. hide the button at first
2. check for notifications support
3. if it does, then show it

maybe this is not a big concern now.

FYI: http://caniuse.com/notifications