Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chongli
on March 15, 2017
|
parent
|
context
|
favorite
| on:
Reducing power consumption for background tabs
Browsers have notification APIs now, from what I've seen. No need to run a full background tab just to handle the occasional notification.
apetresc
on March 16, 2017
[–]
Those notification APIs still get triggered by Javascript running in those tabs. As far as I know, there's no equivalent to the mobile notification APIs where there's a single dedicated socket listening to a central server.
kalleboo
on March 16, 2017
|
parent
[–]
Safari's notifications can use the Apple push notifications server the same way iOS apps do.
apetresc
on March 16, 2017
|
root
|
parent
[–]
Ah, that's pretty cool. Still, I don't think any of the other browsers have it that way, and Safari's desktop market share is ~2%.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: