Today, Chrome is the only browser that supports the standard push API, so the short answer now is No.
A longer answer involves performing different actions for different browsers
- Safari offers desktop notifications through APNS and its own API
- Firefox quickly supports push notification support and is expected to use a different push server than GCM.
So, to summarize, it seems that different browser / OS combinations will require different push servers. In the future, there is an IETF project ( https://datatracker.ietf.org/wg/webpush/documents/ ) that should mitigate this. There are also companies involved in abstracting these issues for a fee. Just search the web for notifications to get a few of them.
source share